/* The presentation page (/sobre). Self-contained on top of tokens.css; the legal and place pages keep landing.css.
   Light sections read the tokens (so they follow light/dark); the deep-water sections keep their own dark colours. */

@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url("/fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url("/fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --deep: 9 22 18;          /* the water at night */
  --deep-2: 15 40 31;
  --sand: 246 242 231;      /* text on the deep water */
  --glow: 79 211 155;       /* green on the deep water */
  --bobber: 229 72 58;
  --font-display: Nunito, var(--font-sans);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body.sobre { margin: 0; font: 17px/1.65 var(--font-sans); background: rgb(var(--color-bg)); color: rgb(var(--color-text)); overflow-x: clip; }
.sobre h1, .sobre h2, .sobre h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
.sobre p { margin: 0 0 12px; }
.sobre img { max-width: 100%; height: auto; display: block; }
.sobre a { color: rgb(var(--color-accent)); text-underline-offset: 3px; }
.sobre :focus-visible { outline: 3px solid rgb(var(--color-focus)); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.skip { position: absolute; left: -9999px; top: 8px; background: rgb(var(--color-surface-raised)); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sobre section { padding: 76px 0; }
@media (min-width: 720px) { .sobre section { padding: 108px 0; } }
.sobre section.surface { background: rgb(var(--color-surface)); }
.sec-title { font-size: clamp(28px, 4.2vw, 42px); max-width: 18ch; }
.sec-lead { color: rgb(var(--color-text-muted)); font-size: 19px; max-width: 52ch; margin-top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 800 16px/1 var(--font-display); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: rgb(var(--color-accent)); color: rgb(var(--color-on-accent)); box-shadow: 0 12px 28px -14px rgb(var(--color-accent) / .9); }
.sobre .btn-primary:hover { background: rgb(var(--color-accent-strong)); color: rgb(var(--color-on-accent)); }
.on-deep .btn-primary, .nav .btn-primary { background: rgb(var(--glow)); color: rgb(var(--deep)); box-shadow: 0 12px 30px -14px rgb(var(--glow) / .8); }
.sobre .on-deep .btn-primary:hover, .sobre .nav .btn-primary:hover { background: rgb(var(--sand)); color: rgb(var(--deep)); }
.btn-ghost { color: rgb(var(--sand)); border-color: rgb(var(--sand) / .35); }
.sobre .btn-ghost:hover { background: rgb(var(--sand) / .08); color: rgb(var(--sand)); }

/* deep-water sections */
.on-deep { background: rgb(var(--deep)); color: rgb(var(--sand)); }
.on-deep .sec-lead, .on-deep p { color: rgb(var(--sand) / .72); }
.sobre .on-deep a:not(.btn) { color: rgb(var(--glow)); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, box-shadow .4s; }
.nav.scrolled { background: rgb(var(--deep) / .94); box-shadow: 0 1px 0 rgb(var(--sand) / .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 23px/1 var(--font-display); letter-spacing: -.02em; color: rgb(var(--sand)); text-decoration: none; }
.sobre a.brand { color: rgb(var(--sand)); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.sobre .nav ul a { color: rgb(var(--sand) / .78); text-decoration: none; font: 700 15px var(--font-display); transition: color .2s; }
.sobre .nav ul a:hover { color: rgb(var(--sand)); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; padding: 128px 0 0; overflow: hidden; background: radial-gradient(900px 520px at 82% 18%, rgb(var(--deep-2)) 0%, transparent 68%), rgb(var(--deep)); }
.sobre section.hero { padding-bottom: 0; }
.hero .grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(42px, 7vw, 72px); letter-spacing: -.03em; line-height: 1.02; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 32em; margin: 22px 0 30px; color: rgb(var(--sand) / .75); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-places { display: inline-block; margin-top: 22px; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgb(var(--glow) / .4); padding-bottom: 2px; }
.hero-places:hover { border-bottom-color: rgb(var(--glow)); }
.hero .lead, .hero .hero-places { opacity: 1; }
.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phones figure { margin: 0; animation: bob 7s ease-in-out infinite; }
.phones figure:nth-child(2) { margin-top: 60px; animation-delay: -3.5s; }
.phones img { width: min(236px, 42vw); border-radius: 32px; border: 7px solid rgb(var(--sand) / .92); background: rgb(var(--deep)); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .8); }
.phones::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: rgb(var(--glow) / .16); filter: blur(70px); z-index: -1; }
.sample { text-align: center; font-size: 14px; margin: 14px 0 0; color: rgb(var(--sand) / .55); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* the numbers, on the water */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; margin: 72px 0 0; padding: 0 0 130px; }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.nums b { display: block; font: 800 clamp(38px, 5.4vw, 56px)/1 var(--font-display); color: rgb(var(--glow)); margin-bottom: 8px; letter-spacing: -.02em; }
.nums span { font-size: 15px; line-height: 1.5; color: rgb(var(--sand) / .72); display: block; max-width: 18ch; }

/* the surface of the water: three layers drifting; the last one is the colour of the next section */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 96px; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { color: rgb(var(--glow) / .16); animation: drift 24s linear infinite; }
.waves .w2 { color: rgb(var(--glow) / .11); bottom: 6px; animation: drift 17s linear infinite reverse; }
.waves .w3 { color: rgb(var(--color-bg)); animation: drift 32s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* why: the lock */
.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .why { grid-template-columns: 1fr 1fr; gap: 72px; } }
.sorry { display: grid; gap: 18px; }
.sorry article { padding: 6px 0 6px 22px; border-left: 4px solid rgb(var(--color-warning)); }
.sorry h3 { font-size: 21px; margin-bottom: 6px; }
.sorry p { color: rgb(var(--color-text-muted)); margin: 0; }

/* how it works: a real sequence, so it is numbered */
.steps { margin-top: 72px; display: grid; gap: 72px; }
.step { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; gap: 0 26px; }
.step .num { grid-column: 2; grid-row: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--color-accent)); color: rgb(var(--color-on-accent));
  font: 800 30px/1 var(--font-display); box-shadow: 0 0 0 10px rgb(var(--color-surface)); position: relative; z-index: 2; }
.step .txt { grid-row: 1; }
.step:nth-child(odd) .txt { grid-column: 3; }
.step:nth-child(even) .txt { grid-column: 1; text-align: right; }
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step p { color: rgb(var(--color-text-muted)); margin: 0; max-width: 32ch; }
.step:nth-child(even) p { margin-left: auto; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 50%; top: 36px; bottom: 36px; width: 0; border-left: 3px dotted rgb(var(--color-accent) / .45); transform: translateX(-50%); }
@media (max-width: 700px) {
  .steps { gap: 52px; margin-top: 44px; }
  .steps::before { left: 28px; }
  .step { grid-template-columns: 56px 1fr; gap: 0 18px; }
  .step .num { grid-column: 1; width: 56px; height: 56px; font-size: 24px; box-shadow: 0 0 0 8px rgb(var(--color-surface)); }
  .step:nth-child(n) .txt { grid-column: 2; text-align: left; }
  .step:nth-child(even) p { margin-left: 0; }
}

/* features: a plain list, round icons */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; margin-top: 56px; }
.feat article { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; align-items: start; }
.feat .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--color-accent-subtle)); color: rgb(var(--color-accent-strong)); transition: transform .6s var(--ease); }
.feat .ico svg { width: 25px; height: 25px; }
.feat article:hover .ico { transform: rotate(-10deg) scale(1.1); }
.feat h3 { font-size: 21px; align-self: end; }
.feat p { grid-column: 2; color: rgb(var(--color-text-muted)); margin: 0; font-size: 16px; }
@media (max-width: 700px) { .feat { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; } .feat article { grid-template-columns: 44px 1fr; } .feat .ico { width: 44px; height: 44px; } }

/* the spot is yours */
.secret { display: grid; gap: 56px; align-items: center; }
@media (min-width: 860px) { .secret { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.levels { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.levels li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: rgb(var(--color-text-muted)); }
.levels li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgb(var(--color-accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.levels b { color: rgb(var(--color-text)); }
.shot { justify-self: center; text-align: center; }
.shot img { width: min(270px, 70vw); border-radius: 34px; border: 8px solid rgb(var(--color-text)); box-shadow: 0 36px 60px -34px rgb(0 0 0 / .55); }
.shot figcaption { font-size: 14px; color: rgb(var(--color-text-muted)); margin-top: 14px; }

/* install */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.way { background: rgb(var(--color-surface-raised)); border: 1px solid rgb(var(--color-border)); border-radius: 28px; padding: 30px 26px; }
.way .where { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.way .where svg { width: 34px; height: 34px; color: rgb(var(--color-accent-strong)); flex: none; }
.way h3 { font-size: 22px; }
.way .browser { font-size: 14px; color: rgb(var(--color-text-muted)); display: block; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0; }
.way ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.way li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: rgb(var(--color-text-muted)); font-size: 16px; }
.way li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--color-accent-subtle)); color: rgb(var(--color-accent-strong)); font: 800 15px/1 var(--font-display); }
.way li b { color: rgb(var(--color-text)); }
.install-note { margin-top: 28px; color: rgb(var(--color-text-muted)); max-width: 60ch; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }

/* questions */
.faq { max-width: 760px; margin-top: 40px; border-top: 1px solid rgb(var(--color-border)); }
.faq details { border-bottom: 1px solid rgb(var(--color-border)); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 800 18px/1.3 var(--font-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; line-height: 1; color: rgb(var(--color-accent)); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq details p { padding: 0 0 20px; margin: 0; color: rgb(var(--color-text-muted)); }

/* the end: the line gets a bite */
.final { text-align: center; padding: 112px 0 96px; background: radial-gradient(900px 420px at 50% 120%, rgb(var(--deep-2)), transparent 70%), rgb(var(--deep)); }
.sobre section.final { padding: 112px 0 96px; }
.final h2 { font-size: clamp(34px, 5.6vw, 56px); max-width: 14ch; margin: 0 auto; }
.final p { max-width: 44ch; margin: 18px auto 30px; }
.final .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sobre footer { background: rgb(var(--deep)); color: rgb(var(--sand) / .55); font-size: 14px; padding: 0 0 38px; text-align: center; }
.sobre footer .wrap { border-top: 1px solid rgb(var(--sand) / .1); padding-top: 26px; display: grid; gap: 8px; }
.sobre footer a { color: rgb(var(--sand) / .82); margin: 0 8px; text-decoration: none; }
.sobre footer a:hover { color: rgb(var(--sand)); text-decoration: underline; }

/* the fishing line: runs down the left edge as you read, the bobber at its tip; at the end it bites.
   Only where there is a margin to put it in (wide screens). */
.line { display: none; }
@media (min-width: 1180px) {
  .line { display: block; position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; z-index: 3; pointer-events: none; }
  .line i { position: absolute; left: 0; top: 0; width: 2px; height: var(--len, 0px); background: rgb(43 156 103 / .65); }
  .line .bobber { position: absolute; left: 1px; top: var(--len, 0px); width: 26px; height: 40px; margin: -4px 0 0 -13px; transform-origin: 50% 20%; opacity: 0; transition: opacity .4s; animation: float 3.4s ease-in-out infinite; }
  .line.on .bobber { opacity: 1; }
  .line.bite .bobber { animation: bite 1.6s var(--ease) infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(5px) rotate(3deg); } }
@keyframes bite { 0%, 55%, 100% { transform: translateY(0); } 18% { transform: translateY(22px); } 32% { transform: translateY(4px); } 44% { transform: translateY(14px); } }

/* reveal: slow, once */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
