/* Creapocket — marketing site.
   Tokens and layout ported from the original bundled landing page,
   rewritten as static, responsive CSS. */

/* ── Fonts (self-hosted, subset by unicode-range) ─────────── */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-italic-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg: #FAF3EA;
  --bg-alt: #F3E1D2;
  --card: #FFFFFF;
  --ink: #2A231D;
  --ink-soft: #6B5F55;
  --accent: #C1552F;
  --accent-dark: #A6431F;
  --accent-ink: #FFF8F1;
  --line: #E7DACB;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --pad-x: clamp(20px, 6vw, 80px);
}

/* ── Base ─────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; }

.page { max-width: 1280px; margin: 0 auto; background: var(--bg); }

@keyframes wavepulse {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Shared bits ──────────────────────────────────────────── */
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 500; line-height: 1.25; color: var(--ink); }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(0.92); color: var(--accent-ink); }

.wave { display: flex; align-items: flex-end; gap: 3px; }
.wave span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: bottom;
  animation: wavepulse 1.4s ease-in-out infinite;
}
.wave.wave-light span { width: 2px; border-radius: 1px; background: #F0DCC8; }
.wave span:nth-child(1)  { height: 12px; animation-delay: 0s; }
.wave span:nth-child(2)  { height: 20px; animation-delay: 0.07s; }
.wave span:nth-child(3)  { height: 30px; animation-delay: 0.14s; }
.wave span:nth-child(4)  { height: 16px; animation-delay: 0.21s; }
.wave span:nth-child(5)  { height: 34px; animation-delay: 0.28s; }
.wave span:nth-child(6)  { height: 22px; animation-delay: 0.35s; }
.wave span:nth-child(7)  { height: 36px; animation-delay: 0.42s; }
.wave span:nth-child(8)  { height: 26px; animation-delay: 0.49s; }
.wave span:nth-child(9)  { height: 18px; animation-delay: 0.56s; }
.wave span:nth-child(10) { height: 28px; animation-delay: 0.63s; }
.wave.wave-small span:nth-child(1)  { height: 6px; }
.wave.wave-small span:nth-child(2)  { height: 11px; }
.wave.wave-small span:nth-child(3)  { height: 17px; }
.wave.wave-small span:nth-child(4)  { height: 9px; }
.wave.wave-small span:nth-child(5)  { height: 19px; }
.wave.wave-small span:nth-child(6)  { height: 13px; }
.wave.wave-small span:nth-child(7)  { height: 21px; }
.wave.wave-small span:nth-child(8)  { height: 15px; }
.wave.wave-small span:nth-child(9)  { height: 8px; }
.wave.wave-small span:nth-child(10) { height: 16px; }

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand { font-family: var(--serif); font-size: 23px; font-weight: 600; font-style: italic; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav > a { color: var(--ink-soft); font-size: 14.5px; }
.site-nav > a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px !important;
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(0.92); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.lang-switch a {
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lang-switch a.active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(42, 35, 29, 0.12);
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 14px var(--pad-x); border-top: 1px solid var(--line); }
  .nav-cta { margin: 14px var(--pad-x); text-align: center; border-radius: 24px; }
  .lang-switch { border-left: none; border-top: 1px solid var(--line); padding: 14px var(--pad-x); }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(52px, 8vw, 88px);
}
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.14;
  font-weight: 500;
}
.hero-subtitle { font-size: 17.5px; line-height: 1.6; color: var(--ink-soft); max-width: 460px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 6px; }
.hero-secondary { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.hero-secondary:hover { color: var(--accent); }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.hero-proof .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-proof p { font-size: 13.5px; color: var(--ink-soft); }

.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.hero-visual .halo {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--bg-alt);
  top: -16px;
  right: 30px;
}
.hero-card {
  position: relative;
  width: min(400px, 100%);
  height: 460px;
  border-radius: 24px;
  background: linear-gradient(155deg, var(--ink) 0%, #4A3A2C 100%);
  box-shadow: 0 24px 60px rgba(42, 35, 29, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.hero-card .eyebrow { color: #F0DCC8; opacity: 0.65; font-size: 11px; letter-spacing: 0.08em; }
.hero-card .tagline { font-family: var(--serif); font-style: italic; color: #FFF; font-size: 30px; line-height: 1.25; }
.wave-badge {
  position: absolute;
  left: -28px;
  bottom: -24px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(42, 35, 29, 0.16);
  height: 40px;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 920px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-visual { margin-top: 12px; }
  .hero-visual .halo { display: none; }
  .hero-card { height: 300px; }
  .wave-badge { left: 12px; bottom: -20px; }
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 92px) var(--pad-x); }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 600px; margin-bottom: 52px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .sub { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 16px; }

/* Problem cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 920px) { .card-grid { grid-template-columns: 1fr; } }

/* Solution steps */
.steps { display: flex; gap: 24px; }
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 3px solid var(--accent);
}
.step .n { font-family: var(--serif); font-size: 14px; color: var(--accent); font-weight: 600; }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 920px) { .steps { flex-direction: column; gap: 32px; } }

/* Use cases */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.usecase {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usecase.featured { border: 2px solid var(--accent); }
.usecase .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 21px; }
.usecase h3 { font-size: 18px; font-weight: 600; }
.usecase p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.usecase .format {
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 10px;
}
.usecase .format .label { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.usecase .format .body { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 920px) { .usecase-grid { grid-template-columns: 1fr; } }

/* Video */
.video-frame {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(42, 35, 29, 0.2);
}
.video-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(155deg, var(--ink) 0%, #4A3A2C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-poster .caption { color: #F0DCC8; opacity: 0.75; font-size: 14px; margin-top: 120px; }
.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-button .circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(42, 35, 29, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-button .triangle {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #FFF;
  margin-left: 5px;
}

/* Pilot */
.pilot { background: var(--accent); color: var(--accent-ink); }
.pilot-inner { display: flex; gap: 60px; align-items: flex-start; }
.pilot-copy { flex: 1; }
.pilot .kicker { color: var(--accent-ink); opacity: 0.85; }
.pilot h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 500; margin-bottom: 16px; }
.pilot .sub { font-size: 15.5px; line-height: 1.6; margin-bottom: 26px; opacity: 0.92; max-width: 400px; }
.pilot .btn-dark {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
}
.pilot .btn-dark:hover { opacity: 0.85; }
.pilot .note { font-size: 12.5px; margin-top: 16px; opacity: 0.75; max-width: 360px; }
.pilot-checklist { flex: 1; display: flex; flex-direction: column; gap: 13px; list-style: none; margin: 0; padding: 0; }
.pilot-checklist li { display: flex; align-items: flex-start; gap: 12px; }
.pilot-checklist .check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.pilot-checklist p { font-size: 14.5px; line-height: 1.5; }

@media (max-width: 920px) { .pilot-inner { flex-direction: column; gap: 40px; } }

/* Proof */
.proof-inner { display: flex; gap: 60px; align-items: center; }
.podcast-card {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  background: linear-gradient(155deg, var(--ink) 0%, #4A3A2C 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(42, 35, 29, 0.25);
}
.podcast-card .eyebrow { color: #F0DCC8; opacity: 0.65; font-size: 11px; letter-spacing: 0.08em; }
.podcast-card .name { font-family: var(--serif); font-style: italic; color: #FFF; font-size: 26px; line-height: 1.2; }
.proof-copy h2 { font-family: var(--serif); font-size: clamp(22px, 3.5vw, 28px); font-weight: 500; margin-bottom: 16px; line-height: 1.3; }
.proof-copy .body { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 22px; max-width: 430px; }
.proof-copy .soon { color: var(--ink-soft); font-size: 14.5px; font-style: italic; }
.proof-copy .cta { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.proof-copy .cta:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .proof-inner { flex-direction: column; align-items: flex-start; }
}

/* Contact */
.contact-inner { display: flex; gap: 68px; }
.contact-copy { flex: 1; }
.contact-copy .sub { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 370px; margin-top: 16px; }
.contact-form-wrap {
  flex: 1;
  background: var(--card);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(42, 35, 29, 0.1);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: var(--sans);
  background: #FFF;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }
.contact-form button[type="submit"] {
  margin-top: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
}
.contact-form button[type="submit"]:hover { filter: brightness(0.92); }
/* Honeypot field — must stay invisible to humans. */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error {
  display: none;
  background: #FBE9E4;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
}
.form-error.visible { display: block; }

@media (max-width: 920px) { .contact-inner { flex-direction: column; gap: 40px; } }

/* Success page (merci / thank-you) */
.success-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 30px 0;
}
.success-block .check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.success-block h1 { margin-top: 8px; font-size: 24px; font-family: var(--serif); font-weight: 500; }
.success-block p { font-size: 14.5px; color: var(--ink-soft); }
.success-page { min-height: 55vh; display: flex; align-items: center; }
.success-page .section-head { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 52px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { font-size: 19px; margin-bottom: 8px; }
.site-footer p { font-size: 12.5px; color: var(--ink-soft); }
.site-footer .legal { text-align: right; }
.site-footer .legal p { font-size: 11.5px; }

@media (max-width: 640px) {
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer .legal { text-align: left; }
}
