/* ==========================================================================
   Ambervil Software — site styles
   ========================================================================== */

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;

  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --line: #ece7e1;
  --bg: #fffdf8;
  --bg-alt: #fbf6ee;
  --surface: #ffffff;
  --dark: #15110d;
  --dark-2: #221b14;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06), 0 1px 1px rgba(28, 25, 23, .04);
  --shadow: 0 10px 30px -12px rgba(28, 25, 23, .18), 0 2px 6px rgba(28, 25, 23, .05);
  --shadow-lg: 0 40px 80px -30px rgba(21, 17, 13, .55);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--amber-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--amber-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .95rem/1 var(--font);
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  color: #2a1a05;
  box-shadow: 0 8px 20px -8px rgba(245, 158, 11, .7), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { color: #2a1a05; box-shadow: 0 12px 26px -8px rgba(245, 158, 11, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); border-color: var(--amber-300); }
.on-dark .btn-ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.on-dark .btn-ghost:hover { color: #fff; border-color: var(--amber-400); }
.btn svg { width: 18px; height: 18px; }

.link-arrow { font-weight: 600; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .35em; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font: 800 1.4rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand-name span { font-weight: 500; color: var(--muted); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); background: rgba(245, 158, 11, .1); }
.nav-links a[aria-current="page"] { color: var(--amber-800); background: var(--amber-100); font-weight: 600; }
.nav-links .nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .2s ease, background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--amber-400); }

.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 580px; }

.text-gradient {
  background: linear-gradient(100deg, var(--amber-300), var(--amber-500) 45%, #f97316);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Dark hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(245, 158, 11, .28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(217, 119, 6, .18), transparent 60%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
  color: #d6d0c8;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .lead { color: #b8b0a6; }
.hero-inner { position: relative; padding-top: 110px; padding-bottom: 120px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 28px; font-size: .9rem; color: #8f877d; display: flex; align-items: center; gap: 10px; }
.hero-note svg { width: 18px; height: 18px; color: var(--amber-400); flex: none; }

.page-hero .hero-inner { padding-top: 96px; padding-bottom: 96px; }
.page-hero .lead { max-width: 640px; }

/* ---------- Screenshots ---------- */

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .25s ease; }
.shot:hover { transform: translateY(-3px); }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; gap: 18px; } .shot { border-radius: 12px; } }

/* ---------- Mac mockup (dummy design) ---------- */

.mac { position: relative; width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 50px 60px rgba(0,0,0,.5)); }
.mac-frame {
  background: #0b0b0c; border-radius: 18px; padding: 12px 12px 14px;
  border: 1px solid #2b2b2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.mac-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, #f8c66b 0%, transparent 55%),
    radial-gradient(100% 90% at 90% 100%, #b4532a 0%, transparent 60%),
    linear-gradient(135deg, #e89a3c, #7c2d12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font);
}
/* The real break wall on a drawn desktop, as in the App Store screenshots. */
.mac-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mac-chin { height: 22px; background: linear-gradient(#cfd0d4, #a9aab0); border-radius: 0 0 14px 14px; margin: 0 -12px -14px; }
.mac-base { width: 118%; height: 12px; margin: 0 -9%; background: linear-gradient(#d9dadd, #9fa0a6); border-radius: 0 0 22px 22px; }

.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 6.2%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.2%; font-size: clamp(7px, 1.35vw, 10.5px); color: #1d1d1f;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}
.menubar .left, .menubar .right { display: flex; align-items: center; gap: 1.1em; }
.menubar .left b { font-weight: 700; }
.menubar .apple { width: .95em; height: .95em; }
.menubar .pomo { display: inline-flex; align-items: center; gap: .35em; font-variant-numeric: tabular-nums; font-weight: 600; padding: .1em .45em; border-radius: 4px; background: rgba(0,0,0,.08); }
.menubar .pomo i { width: .7em; height: .7em; border-radius: 50%; background: #ff6b5f; display: inline-block; }

.desk-window {
  position: absolute; background: rgba(255,255,255,.92); border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); overflow: hidden;
}
.desk-window::before {
  content: ""; display: block; height: 9px; background: #ececec;
  background-image: radial-gradient(circle at 7px 4.5px, #ff5f57 2px, transparent 2.5px),
                    radial-gradient(circle at 14px 4.5px, #febc2e 2px, transparent 2.5px),
                    radial-gradient(circle at 21px 4.5px, #28c840 2px, transparent 2.5px);
}
.desk-window .lines { padding: 8% 8%; display: grid; gap: 6px; }
.desk-window .lines i { display: block; height: 4px; border-radius: 2px; background: #e4e1dc; }
.desk-window .lines i:nth-child(2n) { width: 80%; }
.desk-window .lines i:nth-child(3n) { width: 60%; }
.dw-1 { left: 3%; top: 12%; width: 46%; height: 62%; }
.dw-2 { right: 4%; top: 30%; width: 44%; height: 60%; }

/* the break wall: 80% of the display, centered */
.wall {
  position: absolute; left: 10%; top: 13%; width: 80%; height: 80%;
  border-radius: 8px; overflow: hidden; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #fff; padding: 6%;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background-color: #4a3c36;
  background-image:
    linear-gradient(rgba(20, 12, 8, .38), rgba(20, 12, 8, .5)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='36'%3E%3Crect width='64' height='36' fill='%23574640'/%3E%3Crect x='1' y='1' width='30' height='16' rx='1' fill='%23a64b31'/%3E%3Crect x='33' y='1' width='30' height='16' rx='1' fill='%23b0573a'/%3E%3Crect x='-15' y='19' width='30' height='16' rx='1' fill='%239b452e'/%3E%3Crect x='17' y='19' width='30' height='16' rx='1' fill='%23ad5236'/%3E%3Crect x='49' y='19' width='30' height='16' rx='1' fill='%239b452e'/%3E%3C/svg%3E");
  background-size: auto, 40px 22.5px;
}
.wall-time {
  font-variant-numeric: tabular-nums; font-weight: 300; letter-spacing: .02em;
  font-size: clamp(12px, 2.6vw, 22px); opacity: .85; margin-bottom: .6em;
}
.wall-title { font-weight: 700; font-size: clamp(13px, 3.1vw, 26px); line-height: 1.2; max-width: 16em; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.wall-sub { font-size: clamp(8px, 1.5vw, 12.5px); opacity: .85; margin-top: .9em; }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.35;
}
.float-card strong { display: block; font-size: .88rem; }
.float-card span { color: var(--muted); }
.float-card .dot { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--amber-100); color: var(--amber-700); }
.float-card .dot svg { width: 18px; height: 18px; }
.fc-1 { left: -36px; bottom: 4%; animation: float 6s ease-in-out infinite; }
.fc-2 { right: -22px; top: 8%; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f1dfc0; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card h3 { margin-bottom: .45em; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--amber-50), var(--amber-100));
  border: 1px solid var(--amber-200); color: var(--amber-700); margin-bottom: 22px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Featured app ---------- */

.feature-app {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.feature-app-body { padding: 56px; }
.feature-app-visual {
  position: relative; display: grid; place-items: center; padding: 48px;
  background:
    radial-gradient(500px 300px at 70% 20%, rgba(245, 158, 11, .35), transparent 60%),
    linear-gradient(160deg, #2a2017, #15110d);
}
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.app-icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 24px -8px rgba(60, 30, 80, .5); }
.app-id h3 { font-size: 1.6rem; margin: 0; }
.app-id p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  background: var(--amber-100); color: var(--amber-800); border: 1px solid var(--amber-200);
}
.pill-dark { background: rgba(245,158,11,.12); color: var(--amber-300); border-color: rgba(245,158,11,.3); }
.pill-muted { background: #f3f0ec; color: var(--muted); border-color: var(--line); }
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }

.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b45309' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.big-icon { width: 200px; height: 200px; border-radius: 46px; box-shadow: 0 40px 70px -20px rgba(0,0,0,.7); }
.menubar-chip {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #fff;
  font: 600 .9rem/1 -apple-system, BlinkMacSystemFont, var(--font); font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.menubar-chip i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5f; }
/* Real break-wall screenshot in the "Meet Defocus" card */
.feature-app-visual.with-shot { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 40px 36px; }
.wall-shot {
  display: block; width: 100%; max-width: 560px; height: auto; border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
}
.feature-app-visual.with-shot .menubar-chip { position: static; transform: none; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 800 .9rem/1 var(--font-display); color: var(--amber-600); letter-spacing: .08em; margin-bottom: 18px;
}
.step .time { font: 800 2.2rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; margin-bottom: 10px; }
.step .time small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Plans ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(180deg, #1f1811, #15110d); border-color: #3a2d1d; color: #cfc6bb; box-shadow: var(--shadow-lg); }
.plan.pro h3 { color: #fff; }
.plan h3 { font-size: 1.4rem; display: flex; align-items: center; justify-content: space-between; }
.plan .price { font: 700 1rem/1.4 var(--font); color: var(--muted); margin-bottom: 26px; }
.plan.pro .price { color: #a39a8f; }
.plan .checklist { margin: 0; }
.plan.pro .checklist li { color: #e5ddd3; }
.plan.pro .checklist li::before { background-color: rgba(245,158,11,.18); }

/* ---------- Stats / facts ---------- */

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.fact { padding: 30px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .k { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact .v { font: 700 1.15rem/1.35 var(--font-display); color: var(--ink); }

/* ---------- Split / prose ---------- */

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.prose p { font-size: 1.08rem; }
.prose p:first-child::first-letter {
  float: left; font: 800 3.6rem/.9 var(--font-display); color: var(--amber-600); margin: 6px 10px 0 0;
}
.quote {
  border-left: 3px solid var(--amber-400); padding: 6px 0 6px 24px; margin: 32px 0 0;
  font: 600 1.25rem/1.5 var(--font-display); color: var(--ink);
}

/* ---------- Roadmap / coming soon ---------- */

.soon-card { position: relative; overflow: hidden; }
.soon-card .ph {
  width: 64px; height: 64px; border-radius: 16px; margin-bottom: 22px;
  background: repeating-linear-gradient(135deg, var(--amber-50), var(--amber-50) 6px, var(--amber-100) 6px, var(--amber-100) 12px);
  border: 1px dashed var(--amber-300); display: grid; place-items: center; color: var(--amber-600);
}
.soon-card .ph svg { width: 26px; height: 26px; }
.soon-card .pill { position: absolute; top: 28px; right: 28px; }

/* ---------- Contact ---------- */

.contact-card {
  max-width: 760px; margin: -70px auto 0; position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 56px; text-align: center;
}
.contact-card .icon-badge { margin: 0 auto 22px; width: 60px; height: 60px; border-radius: 18px; }
.contact-card .icon-badge svg { width: 28px; height: 28px; }
.email-big {
  display: inline-block; font: 800 clamp(1.5rem, 4.4vw, 2.6rem)/1.15 var(--font-display);
  letter-spacing: -0.03em; color: var(--ink); margin: 8px 0 26px; word-break: break-word;
}
.email-big:hover { color: var(--amber-700); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.copy-status { min-height: 1.5em; margin-top: 14px; font-size: .9rem; color: var(--amber-700); font-weight: 500; }

.topic-card { display: flex; flex-direction: column; }
.topic-card p { flex: 1; margin-bottom: 22px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 72px 56px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(251, 191, 36, .35), transparent 60%),
    linear-gradient(135deg, #1f1811, #15110d);
  color: #cfc6bb; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 520px; color: #a39a8f; font-size: 1.08rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: #a39a8f; padding: 80px 0 0; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #8f877d; }
.footer-about { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { color: #fff; font: 700 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: #a39a8f; }
.footer-col a:hover { color: var(--amber-400); }
.footer-email { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600; }
.footer-email svg { width: 18px; height: 18px; color: var(--amber-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #7a7268;
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .made i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); display: inline-block; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fc-1, .fc-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Policy pages ---------- */

.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.policy-toc { position: sticky; top: 104px; font-size: .92rem; }
.policy-toc h4 { font: 700 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.policy-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.policy-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); }
.policy-toc a:hover { color: var(--amber-700); border-left-color: var(--amber-400); }
.policy-body { max-width: 720px; }
.policy-body h2 { font-size: 1.5rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--ink-2); }
.policy-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.policy-body li { margin-bottom: .5em; }
.policy-summary {
  background: var(--amber-50); border: 1px solid var(--amber-200); border-radius: var(--radius-lg);
  padding: 28px 32px; margin-bottom: 8px;
}
.policy-summary h2 { margin-top: 0; font-size: 1.25rem; }
.policy-summary .checklist { margin: 0; }
.policy-meta { margin-top: 20px; font-size: .95rem; color: #8f877d; }

.site-footer .brand-name { font-size: 1.15rem; }
.site-footer .brand-mark { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */

/* Small laptops and landscape tablets */
@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }
  .feature-app-body { padding: 44px; }
  .policy { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
}

/* Tablets */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .hero-inner { padding-top: 88px; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .mac { margin: 0 auto; max-width: 580px; }

  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd),
  .steps > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .feature-app { grid-template-columns: 1fr; }
  .feature-app-visual { min-height: 260px; padding: 40px; order: -1; }
  .big-icon { width: 140px; height: 140px; border-radius: 32px; }
  .menubar-chip { bottom: 22px; }
  .feature-app-visual.with-shot { padding: 28px 20px; gap: 16px; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .policy { grid-template-columns: 1fr; gap: 32px; }
  .policy-toc { position: static; }
  .policy-toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .policy-toc a {
    margin: 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); font-size: .88rem;
  }
  .policy-toc a:hover { border-color: var(--amber-300); }
  .policy-body { max-width: none; }
}

/* Portrait tablets and large phones: collapse the navigation */
@media (max-width: 760px) {
  .nav { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-open { background: var(--bg); }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 1rem; }
  .brand-name { font-size: 1.25rem; }
  .policy-body h2 { scroll-margin-top: 84px; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 1.1rem; }
  .grid-3, .grid-2, .steps, .plans { grid-template-columns: 1fr; gap: 16px; }
  .feature-app { border-radius: 22px; }
  .feature-app-body { padding: 32px 24px; }
  .app-icon { width: 64px; height: 64px; border-radius: 15px; }
  .app-id h3 { font-size: 1.4rem; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 24px; border-radius: 22px; gap: 28px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .contact-card { padding: 40px 22px; border-radius: 22px; }
  .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .fc-1 { left: -6px; }
  .fc-2 { right: -6px; }
  .split { gap: 20px; }
  .prose p { font-size: 1.02rem; }
  .quote { font-size: 1.12rem; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-inner, .page-hero .hero-inner { padding-top: 56px; padding-bottom: 72px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .float-card { display: none; }
  .card, .step, .plan { padding: 24px; }
  .icon-badge { margin-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fact { padding: 22px 20px; }
  .fact .v { font-size: 1.02rem; }
  .policy-summary { padding: 22px 20px; }
  .policy-body h2 { font-size: 1.3rem; }
}

@media (max-width: 380px) {
  h1 { font-size: 2.1rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 28px; height: 28px; }
}

@media (max-width: 340px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
}

/* Email shown before the script assembles it: stored reversed, displayed forwards */
.eml { unicode-bidi: bidi-override; direction: rtl; }

/* Centered section headings: room for one line on wide screens, balanced wrap otherwise */
.section-head.center { max-width: 1100px; }
.section-head.center p { max-width: 640px; margin-left: auto; margin-right: auto; }
h2 { text-wrap: balance; }
@media (min-width: 561px) { .nowrap { white-space: nowrap; } }

/* ---------- Services hero: angled monitor with Swift code ---------- */

.code-stage { position: relative; perspective: 1600px; padding: 10px 0; min-width: 0; }
.hero-grid > * { min-width: 0; }
.monitor {
  position: relative; width: 100%; max-width: 600px; margin-left: auto;
  background: linear-gradient(160deg, #2a2a2e, #0c0c0e); border-radius: 18px; padding: 12px;
  border: 1px solid #34343a; box-shadow: 0 60px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05);
  transform: rotateY(-16deg) rotateX(7deg) rotateZ(1.5deg); transform-origin: 60% 50%;
}
.monitor::after { /* screen glare */
  content: ""; position: absolute; inset: 12px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 38%);
}
.monitor-screen { background: #1f1f24; border-radius: 8px; overflow: hidden; }
.editor-bar {
  display: flex; align-items: center; gap: 16px; padding: 10px 14px;
  background: #2b2b31; border-bottom: 1px solid #18181b; font: 500 12px/1 -apple-system, BlinkMacSystemFont, var(--font); color: #c9c9cf;
}
.editor-bar .dots { display: inline-flex; gap: 6px; }
.editor-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.editor-bar .dots i:nth-child(2) { background: #febc2e; }
.editor-bar .dots i:nth-child(3) { background: #28c840; }
.editor-bar .tab { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: #1f1f24; }
.editor-bar .tab svg { width: 13px; height: 13px; color: #f05138; }
.code {
  margin: 0; padding: 16px 18px 20px 0; overflow: hidden; white-space: pre; color: #dfdfe0;
  font: 12.5px/1.7 "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
.code .ln { display: inline-block; width: 3.2em; padding-right: 1.2em; text-align: right; color: #5c5c66; user-select: none; }
.code .k { color: #fc5fa3; font-weight: 600; }
.code .t { color: #5dd8ff; }
.code .f { color: #67b7a4; }
.code .s { color: #fc6a5d; }
.code .a { color: #fd8f3f; }

@media (max-width: 1024px) {
  .monitor { margin: 0 auto; max-width: 560px; transform: rotateY(-10deg) rotateX(5deg) rotateZ(1deg); }
}
@media (max-width: 560px) {
  .monitor { padding: 8px; border-radius: 14px; transform: rotateY(-6deg) rotateX(4deg); }
  .code { font-size: 10px; padding: 12px 10px 14px 0; }
  }
