/* mañana website
   Layout: left-aligned editorial pages, wide bands that alternate cream, sand and deep brown,
   with real app captures in simple device frames. Brand colours from the app's Original theme. */

@font-face { font-family: "Yanone Kaffeesatz"; src: url("fonts/yanone-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("fonts/quicksand.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #F5E6D3;          /* cream */
  --surface: #E8D5B7;     /* sand */
  --surface-2: #EFDDC4;
  --fg: #5D4E37;          /* brown */
  --muted: #6A5B44;      /* darkened for 4.5:1 contrast on sand */
  --link: #94420E;       /* terracotta, darkened for readable text links and small buttons */
  --accent: #D2691E;      /* terracotta */
  --accent-ink: #FFF8EE;
  --olive: #6B6A20;
  --gold: #DAA520;
  --line: rgba(93, 78, 55, .16);
  --deep: #2F1B14;        /* the dark band, same in both themes */
  --deep-fg: #F5E6D3;
  --deep-muted: #D9C3A5;
  --deep-accent: #E4A853;
  --frame: #1E1611;
  --display: "Yanone Kaffeesatz", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --body: "Quicksand", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #2F1B14; --surface: #3D261C; --surface-2: #362119; --fg: #F5E6D3; --muted: #D9C3A5;
    --accent: #E4A853; --link: #E4A853; --accent-ink: #2F1B14; --olive: #B9B45A; --line: rgba(245, 230, 211, .14);
    --deep: #1F120D; --frame: #0E0907; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #2F1B14; --surface: #3D261C; --surface-2: #362119; --fg: #F5E6D3; --muted: #D9C3A5;
  --accent: #E4A853; --link: #E4A853; --accent-ink: #2F1B14; --olive: #B9B45A; --line: rgba(245, 230, 211, .14);
  --deep: #1F120D; --frame: #0E0907; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 500; font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.m { white-space: nowrap; } /* keeps “mañana” whole */

.wrap {
  max-width: calc(var(--wrap) + 2 * 32px); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.05; }
p { margin: 0; max-width: 60ch; }
.accent { color: var(--accent); }
.lede { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tilde { width: 1.6em; height: auto; color: var(--accent); fill: currentColor; display: inline-block; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.nav { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.logo { display: inline-block; aspect-ratio: 1413 / 550; height: 30px; background: currentColor; -webkit-mask: url("img/logo.svg") center / contain no-repeat; mask: url("img/logo.svg") center / contain no-repeat; }
.nav-links { display: flex; gap: 4px 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-sm, .nav-links .btn-sm:hover { color: var(--accent-ink); }
@media (max-width: 520px) { .nav { gap: 10px 14px; } .nav-links { gap: 4px 14px; } .nav-links a { font-size: .92rem; } .logo { height: 26px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 14px; background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 700; line-height: 1.15; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn small { display: block; font-size: .72rem; font-weight: 600; opacity: .8; letter-spacing: .02em; }
.btn span { font-size: 1.15rem; }
.btn svg { width: 28px; height: 28px; flex: none; }
.btn-sm { padding: 8px 14px; border-radius: 11px; font-size: .92rem; background: var(--link); color: var(--accent-ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-note { color: var(--muted); font-weight: 600; font-size: .98rem; }

/* Device frames */
.phone { position: relative; width: 100%; padding: 1.7%; border-radius: 14% / 6.56%; background: var(--frame); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -28px rgba(47, 27, 20, .55); }
.phone img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: contain; border-radius: 12.3% / 5.66%; }
.phone::after { content: ""; position: absolute; top: 2.06%; left: 50%; translate: -50% 0; width: 31%; height: 4.2%; border-radius: 99px; background: #000; }
.shot-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -36px rgba(47, 27, 20, .6); }

/* Sections */
section { padding-block: clamp(64px, 10vw, 120px); }
.band-sand { background: var(--surface); }
.band-deep { background: var(--deep); color: var(--deep-fg); }
.band-deep .lede, .band-deep .eyebrow { color: var(--deep-muted); }
.band-deep .accent, .band-deep .tilde { color: var(--deep-accent); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-copy h1 .tilde { width: .62em; display: block; margin-bottom: .12em; }
.hero-art { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 0; }
.hero-art .phone { width: min(260px, 46vw); }
.hero-art .phone + .phone { margin-left: -9%; margin-bottom: 8%; transform: rotate(4deg); }
.hero-art .phone:first-child { transform: rotate(-3deg); z-index: 1; }
.hero-blob { position: absolute; inset: 12% -10% -8% 4%; background: var(--surface); border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; z-index: -1; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-art { justify-content: flex-end; }
}
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); font-size: .88rem; font-weight: 700; }
.chip.new { background: var(--link); color: var(--accent-ink); border-color: transparent; }

/* A day with mañana */
.steps { display: grid; gap: 56px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { display: grid; gap: 18px; align-content: start; min-width: 0; }
.step .phone { width: min(230px, 58%); margin-bottom: 10px; }
.step-num { counter-increment: step; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--link); font-size: .95rem; letter-spacing: .04em; }
.step-num::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-size: .9rem; }
.step p { color: var(--muted); }
kbd { font-family: var(--body); font-weight: 700; font-size: .88em; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); white-space: nowrap; }

/* Mac */
.mac-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .mac-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.mac-copy { display: grid; gap: 22px; min-width: 0; }
.feature-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.feature-list li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 5px color-mix(in srgb, var(--olive) 20%, transparent); }
.feature-list strong { display: block; font-weight: 700; }
.feature-list span { color: var(--muted); }
.sync-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 700; }
.sync-line i { font-style: normal; color: var(--accent); }

/* Looks */
.looks-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .looks-grid { grid-template-columns: 1fr 1fr; } }
.looks-copy { display: grid; gap: 22px; min-width: 0; }
.picker { display: grid; gap: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(245, 230, 211, .08); border: 1px solid rgba(245, 230, 211, .14); width: fit-content; max-width: 100%; }
.seg button { font: inherit; font-weight: 700; font-size: .98rem; color: var(--deep-muted); background: transparent; border: 0; padding: 8px 16px; border-radius: 11px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--deep-fg); color: var(--deep); }
.seg button:hover:not([aria-pressed="true"]) { color: var(--deep-fg); }
.look-desc { color: var(--deep-muted); min-height: 3.2em; }
.looks-art { display: flex; justify-content: center; }
.looks-art .phone { width: min(280px, 66vw); background: #0E0907; }
.looks-art img { transition: opacity .25s ease; }

/* Widgets */
.widgets-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .widgets-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.widgets-grid .shot-card { max-width: 460px; justify-self: center; width: 100%; }
.widgets-copy { display: grid; gap: 22px; min-width: 0; }

/* Promise */
.promise { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.promise div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--fg); }
.promise p { color: var(--muted); }
.tip { margin-top: clamp(40px, 6vw, 60px); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.tip p { max-width: none; }

/* Closing */
.closing { text-align: left; }
.closing-inner { display: grid; gap: 26px; justify-items: start; }
.closing h2 { font-size: clamp(3rem, 8vw, 5.6rem); }

/* Text pages */
.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(28px, 4vw, 44px); }
.page-head .wrap { display: grid; gap: 18px; }
.page-body { padding-block: 0 clamp(64px, 10vw, 112px); }
.doc { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .doc { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.toc { display: none; }
@media (min-width: 900px) { .toc { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); align-self: start; } }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; font-size: .95rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { display: grid; gap: 40px; min-width: 0; max-width: 68ch; }
.prose section { padding: 0; display: grid; gap: 14px; scroll-margin-top: 100px; }
.prose h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.callout { padding: 24px 26px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; }
.callout .big { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--accent); }
.updated { color: var(--muted); font-size: .95rem; font-weight: 600; }

/* Support */
@media (min-width: 900px) { .doc.support-doc { grid-template-columns: 300px minmax(0, 1fr); } .support-doc > div:first-child { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); align-self: start; } }
.contact-card { display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: var(--surface); }
.contact-card .email { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.1rem); line-height: 1.05; overflow-wrap: anywhere; }
.contact-card .email a { color: var(--fg); text-decoration: none; }
.contact-card .email a:hover { color: var(--accent); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.copy-btn { font: inherit; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 2px; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--accent); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 2px 22px; display: grid; gap: 10px; color: var(--muted); }
.faq-group { display: grid; gap: 14px; }
.faq-group + .faq-group { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 36px; }
.foot { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot .foot-h { font-family: var(--body); line-height: 1.4; margin: 0 0 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--fg); text-decoration: none; font-weight: 600; }
.foot ul a { display: inline-block; padding-block: 3px; }
.foot a:hover { color: var(--accent); }
.foot .logo { height: 36px; color: var(--accent); }
.foot p { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.legal { margin-top: 34px; color: var(--muted); font-size: .88rem; }

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

/* ---- Added for the SEO pages (2026-11-28) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.h1-kicker { display: block; font-family: var(--body); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .02em; line-height: 1.3; color: var(--muted); margin-bottom: .9em; }
.band-deep a { color: var(--deep-accent); }

.why-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why-grid > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--fg); }
.why-grid p { color: var(--muted); }
.notice { margin-top: clamp(40px, 6vw, 60px); padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; border-left: 6px solid var(--accent); }
.notice h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.notice p { max-width: 70ch; }

.qa { display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .qa { grid-template-columns: repeat(2, 1fr); } }
.qa > div { display: grid; gap: 8px; align-content: start; }
.qa h3 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); }
.qa p { color: var(--muted); }
.more { margin-top: 32px; font-weight: 700; }

.guide-head { padding-bottom: clamp(36px, 5vw, 56px); }
.guide-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: 1.4fr .6fr; gap: 64px; } }
.guide-copy { display: grid; gap: 20px; min-width: 0; }
.guide-copy h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.guide-art { display: flex; justify-content: center; }
.guide-art .phone { width: min(240px, 52vw); transform: rotate(2deg); }
@media (max-width: 899px) { .guide-art { display: none; } }

.source { font-size: .92rem; color: var(--muted); }
.steps-list { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; }
.steps-list li::marker { color: var(--accent); font-weight: 700; }
.table-wrap { overflow-x: auto; margin-top: 6px; border-radius: 16px; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface); font-weight: 700; }
.compare tbody th { font-weight: 700; width: 26%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td:last-child { background: color-mix(in srgb, var(--surface) 40%, transparent); }

.related { margin-top: 8px; padding: 24px 26px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 12px; }
.related h2 { font-size: 1.9rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { font-weight: 700; }
.qa-list section h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.qa-list section p { color: var(--muted); }
