/* SizeFold marketing site — palette pulled from AppIcon.svg */
:root {
  --ink: #0b0c0e;
  --panel: #141519;
  --panel-2: #1c1e23;
  --line: rgba(255, 250, 241, 0.10);
  --cream: #fffaf1;
  --muted: rgba(255, 250, 241, 0.62);
  --muted-2: rgba(255, 250, 241, 0.42);
  --accent: #f6c453;
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; border-top: 1px solid var(--line); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

.muted { color: var(--muted); }

/* ---- nav ---- */
nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 12, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand { font-size: 17px; }
.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 600; font-size: 14px;
}

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 650; font-size: 16px; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cream); color: var(--ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-disabled { background: var(--muted-2); color: var(--ink); cursor: default; }

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 110px 0 40px;
  text-align: center;
  border-top: none;
  overflow: hidden;
}
/* soft glow behind the hero, colored from the icon accent */
.hero::before {
  content: "";
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(246,196,83,0.14), transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.pill {
  display: inline-block; margin-bottom: 22px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(246,196,83,0.4);
  background: rgba(246,196,83,0.08);
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
}
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-form input {
  flex: 1; min-width: 200px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--ink); color: var(--cream);
  font-size: 15px;
}
.notify-form input::placeholder { color: var(--muted-2); }
.notify-form input:focus { outline: none; border-color: var(--accent); }
.notify-form .btn { flex: none; }
.hero-icon {
  width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 30px;
  display: block;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 0 1px var(--line);
}
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); }
.hero .sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 720px; margin: 24px auto 0; }
.hero .lede { max-width: 620px; margin: 18px auto 32px; color: var(--muted); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { margin-top: 22px; font-size: 14px; color: var(--muted-2); display: flex; gap: 10px 18px; justify-content: center; flex-wrap: wrap; }
.hero-badges span { white-space: nowrap; }

/* ---- macOS window frame (hero product shot) ---- */
.window-wrap { padding: 40px 0 20px; border-top: none; }
.window {
  max-width: 940px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.window .titlebar {
  height: 38px; display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: linear-gradient(180deg, #26282e, #1c1e23);
  border-bottom: 1px solid var(--line);
}
.window .dot { width: 12px; height: 12px; border-radius: 50%; }
.window .dot.r { background: #ff5f57; }
.window .dot.y { background: #febc2e; }
.window .dot.g { background: #28c840; }
.window .titlebar .t { margin-left: 8px; font-size: 13px; color: var(--muted-2); }
.window .shot-area {
  aspect-ratio: 118 / 76;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(246,196,83,0.06), transparent 60%),
    linear-gradient(180deg, var(--panel), #101114);
}
.window .shot-area img { width: 100%; height: 100%; object-fit: contain; display: block; }
.window .placeholder-hint { color: var(--muted-2); font-size: 14px; text-align: center; padding: 30px; }
.window .placeholder-hint b { display: block; color: var(--muted); font-size: 15px; margin-bottom: 6px; }

/* ---- feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.card .ico { font-size: 30px; }
.card h3 { font-size: 20px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---- anti-subscription band ---- */
.band { background: var(--panel); text-align: center; }
.band h2 { font-size: clamp(30px, 4.5vw, 46px); }
.band .big { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; margin-top: 30px; }
.band p { max-width: 680px; margin: 20px auto 0; color: var(--muted); font-size: 17px; }

/* ---- detail list ---- */
.detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; max-width: 900px; margin: 0 auto; }
.detail .row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail .row b { display: block; margin-bottom: 2px; }
.detail .row span { color: var(--muted); font-size: 15px; }
.check { color: var(--accent); flex: none; font-weight: 700; }

/* ---- pricing ---- */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 36px;
}
.price-card .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .currency { font-size: 28px; vertical-align: 16px; margin-right: 2px; }
.price-card .was { color: var(--muted-2); text-decoration: line-through; font-size: 22px; margin-right: 10px; }
.price-card .note { color: var(--muted); margin: 8px 0 28px; }
.price-list { list-style: none; text-align: left; margin: 28px 0 0; display: grid; gap: 10px; }
.price-list li { color: var(--muted); }
.price-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted-2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--cream); }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}

/* ---- screenshots ---- */
.shots {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  aspect-ratio: 16 / 10;
}
.shot:first-child { grid-row: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* placeholder shown until a real screenshot is dropped in */
.shot.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; }
.shot.placeholder .hint { color: var(--muted-2); font-size: 14px; padding: 24px; }
.shot.placeholder .hint b { color: var(--muted); display: block; font-size: 15px; margin-bottom: 4px; }
.shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; font-size: 14px; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(8,9,11,0.82));
}
@media (max-width: 820px) {
  .shots { grid-template-columns: 1fr; }
  .shot:first-child { grid-row: auto; aspect-ratio: 16 / 10; }
}

/* ---- legal page ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 30px; }
.legal a { color: var(--accent); }
