/* Sintelio holding page. Clash Grotesk (Indian Type Foundry, Fontshare free licence) self-hosted. */
@font-face { font-family: "Clash Grotesk"; src: url("assets/ClashGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("assets/ClashGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgb(255 255 255 / 0.62);
  --line: rgb(255 255 255 / 0.85);
  --pink: #e8457f;
  --pad: clamp(1.25rem, 6vw, 7rem);
  --sans: "Clash Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans);
  font-size: 1.05rem; line-height: 1.5; -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; overflow-x: hidden;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid #37eba9; outline-offset: 4px; }
.wrap { width: 100%; max-width: 1500px; margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 1; }

/* The original animated colour field, kept as it was on the WordPress site,
   now also on small screens (the old one disappeared below 720px). */
.glow { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.gradient {
  --size: clamp(340px, 62vmin, 800px);
  --speed: 50s;
  --easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
  position: absolute;
  left: 18%; top: 8%;
  width: var(--size); height: var(--size);
  filter: blur(calc(var(--size) / 5));
  background-image: linear-gradient(rgba(55, 235, 169, 0.85), #5b37eb);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: rotate var(--speed) var(--easing) alternate infinite;
  will-change: transform;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.top { padding-top: clamp(1.75rem, 5vh, 3.5rem); }
.logo img { display: block; width: clamp(150px, 16vw, 296px); height: auto; }
.logo__text { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 400; letter-spacing: -0.02em; }

.hero { align-self: center; padding-block: 3rem; }
.hero__title {
  margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(2rem, 3.9vw, 4rem); max-width: 26ch;
}
.hero__title .line { display: block; min-height: 1.08em; }
.hero__title .line + .line { color: rgb(255 255 255 / 0.62); }
.nowrap { white-space: nowrap; }
.caret { display: inline-block; width: 2px; height: 0.95em; margin-left: 5px; background: rgb(255 255 255 / 0.6); vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); }

.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.foot__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-block: 2.25rem 2.75rem; }
.foot__company p { font-size: 1.05rem; }
.foot__name { font-weight: 700; }
.foot__legal { margin-top: .9rem; font-size: .85rem !important; color: var(--muted); }

.jingle { display: flex; align-items: center; gap: .75rem; }
.jingle__btn {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: none; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; cursor: pointer; padding: 0;
  transition: border-color .3s ease, transform .2s ease;
}
.jingle__btn:hover { border-color: var(--pink); }
.jingle__btn:active { transform: scale(0.96); }
.jingle__btn svg { width: 14px; height: 14px; fill: var(--pink); }
.jingle__btn .icon-pause { display: none; }
.jingle__btn[aria-pressed="true"] .icon-play { display: none; }
.jingle__btn[aria-pressed="true"] .icon-pause { display: block; }
.jingle__btn[aria-pressed="true"] { border-color: var(--pink); }
.jingle__title { font-size: 1.05rem; }

/* Legal page */
.legal { padding-block: 3rem 5rem; max-width: 70ch; }
.legal h1 { font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.02em; margin: 0 0 2rem; }
.legal h2 { font-weight: 700; font-size: 1.15rem; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: rgb(255 255 255 / 0.78); }
.legal p + p { margin-top: .8rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 2rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.back { display: inline-block; margin-bottom: 2.5rem; color: var(--muted); }

@media (max-width: 640px) {
  .gradient { left: -10%; top: 12%; }
  .legal dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal dd { margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gradient, .caret { animation: none; }
}
