/* FaiSpazio site, minimal white like the other Peek sites (2026-11-23).
   Archivo for text, the system serif italic for accents, mint only inside the app mockups. */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --bg: #fff; --soft: #F5F5F7; --ink: #0B0B0C; --dim: #6E6E73; --line: #E6E6EB;
  --blue: #0071E3; --blue-hover: #0077ED;
  --mint: #5CF0C0; --mint-ink: #03261B;
  /* app palette, used only inside the mockups */
  --abyss: #0B0F1C; --deep: #111627; --raised: #182036; --hair: #273050; --a-ink: #EEF1F7; --a-muted: #9AA3B8;
  --l-foto: #FFB648; --l-video: #FF7B67; --l-app: #A98BFF; --l-file: #5BB4FF; --l-hidden: #5A6480; --l-foam: #E9EEF8;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 18px 40px -12px rgb(0 0 0 / 0.18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header: brand, pill nav in the middle, blue download button on the right */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; background: rgb(255 255 255 / 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); max-width: none; }
.bar > * { flex: 1; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.bar nav { flex: 0 1 auto; display: none; gap: 0.25rem; padding: 0.3rem; background: var(--soft); border-radius: 999px; font-size: 0.9rem; }
.bar nav a { padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none; color: var(--ink); }
.bar nav a:hover, .bar nav a[aria-current] { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .bar nav { display: flex; } }
.bar .end { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; font-size: 0.9rem; }
.bar .end > a:not(.dl) { text-decoration: none; color: var(--dim); }
.dl { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.15rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.dl:hover { background: var(--blue-hover); color: #fff; }

/* Type */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 550; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 600; line-height: 1.25; }
em.s, .s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--soft); font-size: 0.85rem; font-weight: 500; margin: 0 0 1.5rem; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgb(92 240 192 / 0.25); }
section.soft .chip { background: #fff; }
.head { text-align: center; max-width: 46rem; margin: 0 auto; }
.head .sub, .sub { color: var(--dim); font-size: 1.15rem; margin: 1.25rem auto 0; max-width: 38rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.9rem; min-height: 52px; padding: 0 0.4rem 0 1.4rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.btn::after { content: "↗"; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.05rem; transition: transform 0.25s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::after { transform: rotate(45deg); }
.link { font-weight: 600; text-decoration: none; }
.link::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
.small { font-size: 0.88rem; color: var(--dim); }

/* Hero */
.hero { text-align: center; padding: 4rem 16px 4.5rem; overflow-x: clip; }
@media (min-width: 640px) { .hero { padding: 5.5rem 0 6rem; } }
.hero .sub { max-width: 34rem; }
.hero .small { margin-top: 1.25rem; }

/* Phone mockup with the tank (synthetic, numbers are an example) */
.phone { position: relative; width: 300px; height: 620px; margin: 3.5rem auto 0; border-radius: 48px; background: #000; padding: 10px; box-shadow: 0 50px 90px -30px rgb(11 15 28 / 0.55), inset 0 0 0 2px #2a2f3f; text-align: left; }
.screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: linear-gradient(#0E1322, var(--abyss)); color: var(--a-ink); font-size: 12px; line-height: 1.4; }
.screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.liquid { position: absolute; inset: auto 0 0; height: 88%; display: flex; flex-direction: column; }
.liquid span { display: block; }
.liquid .foam { flex: 6; background: repeating-linear-gradient(135deg, rgb(233 238 248 / 0.32) 0 6px, rgb(233 238 248 / 0.12) 6px 12px); }
.liquid .foto { flex: 32; background: linear-gradient(var(--l-foto), #E89A2C); }
.liquid .video { flex: 24; background: linear-gradient(var(--l-video), #DE5945); }
.liquid .app { flex: 16; background: linear-gradient(var(--l-app), #8466EA); }
.liquid .file { flex: 7; background: linear-gradient(var(--l-file), #3A92E0); }
.liquid .hidden { flex: 15; background: linear-gradient(var(--l-hidden), #434C66); }
.meniscus { position: absolute; left: -10%; right: -10%; height: 3px; top: 12%; background: var(--mint); box-shadow: 0 0 14px 2px var(--mint); rotate: -4deg; animation: slosh 6s var(--ease) infinite alternate; }
.liquid { clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
@keyframes slosh { to { rotate: 3deg; } }
.glass { position: absolute; z-index: 2; left: 14px; right: 14px; background: rgb(11 15 28 / 0.62); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgb(238 241 247 / 0.12); border-radius: 18px; padding: 12px 14px; }
.glass.top { top: 48px; }
.glass .big { font-size: 46px; font-weight: 800; font-stretch: 118%; letter-spacing: -1px; line-height: 1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.glass .free { color: var(--mint); font-weight: 700; }
.glass small { color: var(--a-muted); font-size: 11px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 10.5px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.glass.fc { bottom: 74px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.glass.fc b { display: block; font-size: 18px; font-weight: 800; font-stretch: 118%; white-space: nowrap; }
.glass.fc > small { white-space: nowrap; }
.app-btn { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 18px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
@media (max-width: 380px) { .phone { width: 270px; height: 560px; } .glass .big { font-size: 40px; } }

/* Sections */
section { padding: 5rem 0; }
@media (min-width: 640px) { section { padding: 7rem 0; } }
section.soft { background: var(--soft); }

.tiles { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } }
.tiles > li { background: var(--soft); border-radius: 24px; padding: 1.75rem; display: flex; flex-direction: column; }
section.soft .tiles > li { background: #fff; }
.tiles p { margin: 0.6rem 0 0; color: var(--dim); font-size: 0.98rem; }

/* Small dark app cards inside a tile */
.mini { margin-top: auto; padding-top: 1.5rem; }
.mini .card { background: var(--abyss); color: var(--a-ink); border-radius: 18px; padding: 14px; font-size: 13px; line-height: 1.35; }
.mini .card small { color: var(--a-muted); font-size: 11px; }
.mini .num { font-weight: 800; font-stretch: 118%; font-variant-numeric: tabular-nums; }
.pi { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.pi + .pi { border-top: 1px solid var(--hair); }
.pi .ico { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, currentColor 18%, transparent); }
.pi .ico::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.pi div { flex: 1; }
.cnt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cnt .num { font-size: 24px; display: block; }
.cnt .muted { color: var(--a-muted); }
.cnt .bar-m { height: 6px; border-radius: 6px; background: var(--mint); box-shadow: 0 0 10px var(--mint); margin: 8px 0 6px; }
.cnt .bar-f { height: 6px; border-radius: 6px; background: repeating-linear-gradient(135deg, rgb(233 238 248 / 0.4) 0 5px, transparent 5px 10px); margin: 8px 0 6px; }
.fcst .num { font-size: 24px; display: block; margin-top: 2px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 36px; margin-top: 10px; }
.spark span { flex: 1; border-radius: 2px; background: var(--hair); }
.spark span:last-child { background: var(--mint); }

.points { display: grid; gap: 2rem 3rem; margin-top: 4rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.points p { margin: 0.5rem 0 0; color: var(--dim); font-size: 0.98rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.5rem; vertical-align: 0.05em; }

/* Never list */
.never { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2.5rem auto 0; padding: 0; list-style: none; max-width: 44rem; }
.never li { padding: 0.45rem 1rem; border-radius: 999px; background: #fff; font-size: 0.92rem; color: var(--dim); text-decoration: line-through; text-decoration-color: rgb(110 110 115 / 0.6); }

/* Privacy */
.lock { width: 56px; height: 56px; margin: 0 auto 1.5rem; padding: 14px; border-radius: 18px; background: var(--ink); color: #fff; }

/* Pricing */
.plans { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border-radius: 24px; padding: 1.5rem 1.5rem 1.75rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); }
.plan .tag { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--soft); font-size: 0.8rem; font-weight: 500; }
.plan .price { font: 400 2.8rem/1 var(--serif); letter-spacing: -0.03em; margin: 1.25rem 0 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.plan .price small { font: 400 0.9rem var(--sans); color: var(--dim); letter-spacing: 0; }
.plan ul { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; }
.plan li { padding-left: 1.5rem; position: relative; margin-top: 0.5rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plan.lit { background: var(--ink); color: #fff; }
.plan.lit .tag { background: rgb(255 255 255 / 0.14); }
.plan.lit .price { border-color: rgb(255 255 255 / 0.18); }
.plan.lit .price small { color: rgb(255 255 255 / 0.6); }
.plan.lit li::before { color: var(--mint); }
.fine { text-align: center; font-size: 0.88rem; color: var(--dim); margin: 2rem auto 0; max-width: 44rem; }

/* FAQ and notes */
.faq { margin: 3rem auto 0; max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); margin: 0.75rem 0 0; }
.note { background: var(--soft); border-radius: 20px; padding: 1.25rem 1.5rem; color: var(--dim); font-size: 0.95rem; max-width: 46rem; margin: 3rem auto 0; }
.note strong { color: var(--ink); }

/* Download page */
.platforms { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
.platform { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--soft); border-radius: 28px; padding: 2.5rem 1.5rem 2rem; }
.platform svg.dev { width: 64px; height: 64px; margin-bottom: 1.5rem; }
.platform h2 { font-size: 2rem; }
.platform p { color: var(--dim); margin: 0.5rem 0 1.75rem; font-size: 0.95rem; flex: 1; }
.soon { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.3rem; border-radius: 12px; background: #fff; color: var(--dim); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* Long-form pages */
.article { max-width: 46rem; padding-block: 3.5rem 5rem; }
.article h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.article h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 3rem; }
.article h3 { margin-top: 2rem; }
.article p, .article ul, .article ol { margin: 0.8rem 0 0; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li + li { margin-top: 0.4rem; }
.article .lead { font-size: 1.2rem; color: var(--dim); margin-top: 1rem; }
.article .note { margin: 2rem 0 0; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.toc a { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--soft); text-decoration: none; font-size: 0.9rem; }
.meta { color: var(--dim); font-size: 0.9rem; margin-top: 1rem; }
.legal > section { border-top: 1px solid var(--line); padding: 3rem 0 0; margin-top: 3rem; }

/* Capabilities table: rows become cards on phones */
.cap { width: 100%; border-collapse: collapse; margin-top: 2.5rem; font-size: 0.95rem; }
.cap th, .cap td { text-align: left; vertical-align: top; padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--line); }
.cap thead th { font-size: 0.85rem; color: var(--dim); font-weight: 600; }
.cap tbody th { font-weight: 600; width: 28%; }
.cap td { color: var(--dim); font-size: 0.9rem; }
.cap td span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.cap .yes::before { content: "● "; color: #0FB585; }
.cap .part::before { content: "◐ "; color: #C98A1B; }
.cap .no::before { content: "○ "; color: var(--dim); }
@media (max-width: 700px) {
  .cap thead { display: none; }
  .cap, .cap tbody, .cap tr, .cap th, .cap td { display: block; width: auto; }
  .cap tr { background: var(--soft); border-radius: 20px; padding: 1rem 1.25rem; margin-top: 0.75rem; }
  .cap th, .cap td { border: 0; padding: 0.35rem 0; }
  .cap tbody th { width: auto; font-size: 1.05rem; }
  .cap td::before { content: attr(data-p); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
}

/* Footer in columns */
.foot { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: 0.9rem; }
.foot-top { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .foot-top { grid-template-columns: minmax(14rem, 2fr) repeat(4, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand p { margin: 1rem 0 0; color: var(--dim); max-width: 30ch; }
.foot nav { display: grid; gap: 0.55rem; align-content: start; }
.foot h2 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.3rem; }
.foot nav a { color: var(--dim); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; color: var(--dim); font-size: 0.82rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
