/* =========================================================================
   OpusHub Studio marketing site
   Warm / editorial "artisanal" design system.
   Palette: paper + ink + brass. Type: Cormorant Garamond + Hanken Grotesk.
   Shared by index.html and the legal pages (privacy / terms / refund).
   ========================================================================= */

:root {
  --ink: #16110d;
  --paper: #f4ebdd;
  --paper2: #ece0cf;
  --accent: #c0894a;      /* brass */
  --accent-lt: #ddb072;
  --accent-deep: #805421;
  --heading: #241d17;
  --body: #2a211a;
  --muted: #6b5d4c;
  --subtle: #6b5d4c;
  --on-accent: #1b1206;
  --hairline: rgba(22, 17, 13, .1);
  --maxw: 1180px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration: none; transition: color .25s ease; }
a:hover { color: #70481c; }
.hero__platforms a, .pcard__sub a, .price-note a,
.site-footer__brand p a, .site-footer__base a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
::selection { background: var(--accent-lt); color: var(--ink); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Shared primitives -------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .eyebrow--dark { color: var(--accent-lt); }

.serif { font-family: var(--serif); }
em.hl { font-style: italic; color: var(--accent-lt); }

.btn {
  display: inline-block;
  /* Buttons carry a UA default background; without this a variant that only
     sets a border and colour renders as light-on-light. */
  background: transparent;
  border: none;
  cursor: pointer;
  font: 700 13px/1.3 var(--sans);
  min-height: 44px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 4px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  text-align: center;
}
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(192, 137, 74, .6); }
.btn--accent:hover { background: var(--accent-lt); color: var(--on-accent); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #241a12; color: var(--paper); }
.btn--outline-light { background: transparent; border: 1px solid rgba(244, 235, 221, .3); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--accent-lt); color: var(--paper); }
.btn--outline-ink { border: 1px solid rgba(22, 17, 13, .2); color: var(--heading); background: transparent; }
.btn--outline-ink:hover { border-color: var(--accent); color: var(--heading); }

/* Ambient effects */
.grain {
  position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: overlay; opacity: .16; background-size: 4px 4px;
  background-image: radial-gradient(rgba(255, 255, 255, .25) .5px, transparent .5px);
}

@keyframes omGlow { 0% { transform: translate(-3%, -2%) scale(1); } 50% { transform: translate(4%, 3%) scale(1.1); } 100% { transform: translate(-3%, -2%) scale(1); } }
@keyframes omMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes omFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes omFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Header -------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 235, 221, .82);
  border-bottom: 1px solid rgba(22, 17, 13, .08);
}
.site-header__rule { height: 2px; background: linear-gradient(90deg, transparent 4%, var(--accent) 50%, transparent 96%); }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 13px 24px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand__logo { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(22, 17, 13, .4); }
.brand__name { font: 600 19px/1 var(--serif); letter-spacing: .01em; color: var(--heading); }
.site-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; }
.site-nav a { color: #463a2c; }
.site-nav a:hover { color: var(--accent-deep); }
.site-header .btn { padding: 12px 22px; font-size: 12px; }

/* ---------- Section scaffolding ------------------------------------------ */

.section { padding: clamp(70px, 9vw, 124px) 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 1120px; }
.section h2 { font: 500 clamp(30px, 4.2vw, 52px)/1.08 var(--serif); letter-spacing: -.01em; color: var(--heading); text-wrap: balance; margin: 20px 0 0; }
.section .lede { margin: 22px 0 0; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.66; color: var(--muted); text-wrap: pretty; }
.section-head--center { max-width: 660px; margin: 0 auto 48px; text-align: center; }

/* ---------- Hero ---------------------------------------------------------- */

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62; filter: saturate(1.05);
}
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(102deg, rgba(19, 14, 10, .9) 0%, rgba(19, 14, 10, .62) 42%, rgba(19, 14, 10, .12) 100%); }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(46% 52% at 78% 22%, rgba(221, 176, 114, .2), transparent 70%); animation: omGlow 18s ease-in-out infinite; }
.hero__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(76px, 9vw, 132px) 24px clamp(64px, 7vw, 104px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center;
}
.hero .eyebrow { color: var(--accent-lt); }
.hero .eyebrow::before { background: var(--accent-lt); }
.hero h1 {
  margin: 20px 0 0;
  font: 500 clamp(44px, 6.2vw, 82px)/1.02 var(--serif);
  letter-spacing: -.015em; text-wrap: balance;
}
.hero__lede { margin: 26px 0 0; max-width: 544px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: rgba(244, 235, 221, .8); }
.hero__cta { margin: 34px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trial-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--paper); }
.hero__platforms { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--paper); }
.hero__platforms a { color: var(--accent-lt); }
.hero__platforms a:hover { color: var(--paper); }
.hero__note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(244, 235, 221, .8); }
.hero__anim { opacity: 0; animation: omFade .85s ease forwards; }

.hero__figure { position: relative; opacity: 0; animation: omFade 1s ease .5s forwards; }
.hero__figure::before { content: ""; position: absolute; inset: -44px -30px; background: radial-gradient(55% 55% at 55% 50%, rgba(221, 176, 114, .24), transparent 72%); }
.hero__frame {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(221, 176, 114, .35);
  box-shadow: 0 50px 100px -34px rgba(0, 0, 0, .8);
  transform: perspective(1500px) rotateY(-5deg) rotateX(1.5deg); transform-origin: right center;
}
.hero__badge {
  position: absolute; left: -22px; bottom: -24px;
  background: var(--paper); color: var(--heading); border-radius: 9px; padding: 14px 18px;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55); border: 1px solid rgba(221, 176, 114, .4);
  animation: omFloat 6s ease-in-out infinite;
}
.hero__badge .k { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.hero__badge .v { margin-top: 6px; font: 600 22px/1 var(--serif); }
.hero__badge .s { margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ---------- Marquee ------------------------------------------------------- */

.marquee { background: var(--paper2); border-top: 1px solid rgba(22, 17, 13, .06); border-bottom: 1px solid rgba(22, 17, 13, .06); overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; width: max-content; animation: omMarquee 46s linear infinite; }
.marquee__group { display: flex; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee__group span { padding: 0 26px; }
.marquee__group .dot { padding: 0; color: var(--accent); }

/* ---------- Two-column feature blocks ------------------------------------ */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 5vw, 76px); align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }

.intro-photo { position: relative; padding: 16px 0 16px 16px; }
.intro-photo__echo { position: absolute; top: 0; left: 0; right: 30px; bottom: 0; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); background: linear-gradient(120deg, rgba(192, 137, 74, .4), rgba(192, 137, 74, .1)); }
.intro-photo__clip { position: relative; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); margin-left: 14px; }
.intro-photo__clip img { width: 100%; height: 380px; object-fit: cover; filter: sepia(.14) saturate(1.08); }

/* Checklist */
.checklist { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: #463a2c; }
.checklist .tick { flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* ---------- Product tour -------------------------------------------------- */

.tour { background: var(--paper); }
.tour__panel {
  position: relative; overflow: hidden; color: var(--paper); background: var(--ink);
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
}
.tour__bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .32; }
.tour__bg.is-loaded { background-image: url('./assets/optimized/photo-tour-1280.webp'); }
.tour__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 14, 10, .88), rgba(19, 14, 10, .68)); }
.tour__inner { position: relative; max-width: 1150px; margin: 0 auto; padding: clamp(110px, 11vw, 150px) 24px; }
.tour__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.tour__head h2 { color: var(--paper); margin: 16px 0 0; font-size: clamp(32px, 4.4vw, 54px); }
.tour__head p { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: rgba(244, 235, 221, .7); max-width: 660px; }
.tour__nav { display: flex; gap: 10px; }
.tour__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244, 235, 221, .25); background: transparent; color: var(--paper); font-size: 18px; cursor: pointer; transition: all .25s ease; }
.tour__arrow:hover { border-color: var(--accent-lt); color: var(--accent-lt); }

.tour__body { display: grid; grid-template-columns: 245px 1fr; gap: clamp(30px, 4vw, 54px); align-items: start; }
.tour__rail { display: flex; flex-direction: column; border-top: 1px solid rgba(244, 235, 221, .14); }
.tour__tab {
  display: flex; gap: 13px; align-items: baseline; width: 100%; text-align: left;
  padding: 9px 2px; background: transparent; border: none; cursor: pointer;
  border-bottom: 1px solid rgba(244, 235, 221, .12); transition: transform .35s ease;
}
.tour__tab .tour__num { font: 500 12.5px/1 var(--serif); color: rgba(244, 235, 221, .72); min-width: 21px; transition: color .3s ease; }
.tour__tab .tour__name { font-size: 14.5px; font-weight: 500; color: rgba(244, 235, 221, .62); letter-spacing: .01em; transition: color .3s ease; }
.tour__tab.is-active { transform: translateX(7px); }
.tour__tab.is-active .tour__num { color: var(--accent-lt); }
.tour__tab.is-active .tour__name { color: var(--accent-lt); font-weight: 700; }

/* stage is one wrapping flex row: arrows flank the image, dots + caption drop to full-width rows below */
.tour__stage { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 16px; row-gap: 18px; }
.tour__viewport { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 2880 / 1704; }
.tour__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.012); transition: opacity .8s ease, transform .8s ease; pointer-events: none; margin: 0; }
.tour__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tour__frame { position: relative; height: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(221, 176, 114, .28); box-shadow: 0 44px 90px -36px rgba(0, 0, 0, .75); background: #f5ecdd; }
.tour__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* arrows */
.tour__navbtn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(244, 235, 221, .05); border: 1px solid rgba(244, 235, 221, .28);
  color: var(--paper); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.tour__navbtn:hover { background: rgba(221, 176, 114, .14); border-color: var(--accent-lt); color: var(--accent-lt); }
.tour__navbtn--prev:hover { transform: translateX(-2px); }
.tour__navbtn--next:hover { transform: translateX(2px); }

/* indicator + caption (own full-width rows) */
.tour__dots { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 9px; }
.tour__count { font: 500 12.5px/1 var(--serif); color: var(--accent-lt); letter-spacing: .08em; white-space: nowrap; margin-right: 4px; }
.tour__dot { width: 28px; height: 28px; padding: 0; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; }
.tour__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 235, 221, .55); }
.tour__dot:hover::before { background: rgba(244, 235, 221, .8); }
.tour__dot.is-active::before { width: 22px; border-radius: 5px; background: var(--accent-lt); }
.tour__cap { flex: 0 0 100%; display: flex; gap: 13px; align-items: baseline; justify-content: center; }
.tour__cap .step { font: 500 18px/1 var(--serif); color: var(--accent-lt); flex: none; }
.tour__cap p { font-size: 15px; line-height: 1.5; color: rgba(244, 235, 221, .78); text-align: center; }

/* ---------- Cross-device (Windows + Android) ----------------------------- */

.devices__phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 44px); margin: 8px 0 0; }
.phone {
  position: relative; flex: none; margin: 0;
  width: clamp(186px, 21vw, 230px); aspect-ratio: 9 / 19.3;
  background: linear-gradient(158deg, #241a12, #16110d);
  border-radius: 34px; padding: 9px; border: 1px solid rgba(221, 176, 114, .22);
  box-shadow: 0 54px 92px -42px rgba(0, 0, 0, .62), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.phone--raised { transform: translateY(-30px); }
.phone__screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #f0e6d5; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 1; }
.phone__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font: 600 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); }
.phone__notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); z-index: 2; }

.devices__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); margin: clamp(48px, 6vw, 72px) 0 0; }
.dcard__ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(192, 137, 74, .1); border: 1px solid rgba(192, 137, 74, .22); color: var(--accent-deep); }
.dcard__ic svg { width: 24px; height: 24px; }
.dcard h3 { margin: 18px 0 0; font: 500 23px/1.18 var(--serif); color: var(--heading); }
.dcard p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Workflows (dark band, frosted cards) ------------------------- */

.band { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.band__bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .34; }
.band__bg.is-loaded { background-image: url('./assets/optimized/photo-workflows-1280.webp'); }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 14, 10, .82), rgba(19, 14, 10, .7)); }
.band__in { position: relative; }
.band .section-head--center .eyebrow { color: var(--accent-lt); }
.band h2 { color: var(--paper); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcard {
  background: rgba(28, 22, 16, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(221, 176, 114, .22); border-radius: 12px; padding: 30px 28px;
  display: flex; flex-direction: column;
}
.wcard .num { font: 500 40px/1 var(--serif); color: var(--accent-lt); }
.wcard .rule { width: 34px; height: 2px; background: var(--accent); margin: 16px 0 0; border-radius: 2px; }
.wcard h3 { margin: 18px 0 0; font: 600 23px/1.16 var(--serif); color: var(--paper); }
.wcard p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(244, 235, 221, .72); }

/* ---------- Assistant ----------------------------------------------------- */

.assistant-demo { position: relative; background: var(--ink); border-radius: 14px; padding: 46px 38px; color: var(--paper); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.assistant-demo__glow { position: absolute; inset: 0; background: radial-gradient(70% 60% at 85% 5%, rgba(221, 176, 114, .22), transparent 70%); }
.assistant-demo__in { position: relative; max-width: 400px; margin: 0 auto; }
.assistant-demo .said { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 235, 221, .5); }
.assistant-demo .quote { margin: 12px 0 0; font: 500 24px/1.3 var(--serif); font-style: italic; color: var(--paper); }
.preview-card { margin-top: 22px; border: 1px solid rgba(221, 176, 114, .35); border-radius: 10px; background: rgba(255, 255, 255, .04); padding: 20px; }
.preview-card .k { font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-lt); }
.preview-card .action { margin: 12px 0 0; font-size: 15.5px; line-height: 1.45; }
.preview-card .chips { display: flex; gap: 10px; margin-top: 16px; }
.chip { padding: 10px 20px; border-radius: 4px; font: 700 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.chip--confirm { background: var(--accent); color: var(--on-accent); }
.chip--dismiss { border: 1px solid rgba(244, 235, 221, .25); color: rgba(244, 235, 221, .7); font-weight: 600; }
.assistant-demo .foot { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(244, 235, 221, .5); }
.assistant-copy .sub { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--subtle); }

/* ---------- Maker's note -------------------------------------------------- */

.maker { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.maker__bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .28; }
.maker__bg.is-loaded { background-image: url('./assets/optimized/photo-maker-1280.webp'); }
.maker__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 14, 10, .82), rgba(19, 14, 10, .74)); }
.maker__in { position: relative; max-width: 780px; margin: 0 auto; padding: 0 24px; text-align: center; }
.maker__in .eyebrow { color: var(--accent-lt); }
.maker__mark { display: block; font: 500 72px/.55 var(--serif); color: var(--accent-lt); opacity: .5; margin-top: 18px; }
.maker__quote { margin-top: 14px; font: 500 clamp(22px, 2.6vw, 31px)/1.34 var(--serif); font-style: italic; color: var(--paper); text-wrap: balance; }
.maker__sig { margin-top: 26px; display: flex; gap: 13px; align-items: center; justify-content: center; }
.maker__sig .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 18px/1 var(--serif); }
.maker__sig .who { text-align: left; }
.maker__sig .who .n { font-size: 14.5px; font-weight: 600; }
.maker__sig .who .r { font-size: 13px; color: rgba(244, 235, 221, .6); }

/* ---------- Pricing ------------------------------------------------------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 10px; padding: 34px 30px; background: var(--paper2); color: var(--heading); border: 1px solid rgba(22, 17, 13, .08); }
.pcard--featured { background: var(--ink); color: var(--paper); border: 1px solid var(--accent); box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .5); transform: scale(1.02); }
.pcard__badge { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 5px 12px; border-radius: 30px; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.pcard__name { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.pcard--featured .pcard__name { color: var(--accent-lt); }
.pcard__price { margin: 16px 0 0; font: 500 52px/1 var(--serif); }
.pcard__price .per { font-size: 18px; color: var(--subtle); }
.pcard--featured .pcard__price .per { color: rgba(244, 235, 221, .6); }
.pcard__sub { margin: 8px 0 20px; font-size: 13.5px; color: var(--subtle); }
.pcard--featured .pcard__sub { color: rgba(244, 235, 221, .6); }
.pcard--featured .pcard__sub a { color: var(--accent-lt); }
.pcard--featured .pcard__sub a:hover { color: var(--paper); }
.pcard__trial-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.pcard--featured .pcard__trial-note { color: var(--paper); }
.pcard__features { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pcard__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #463a2c; }
.pcard--featured .pcard__features li { color: rgba(244, 235, 221, .85); }
.pcard__features .tick { color: var(--accent); flex: none; }
.pcard--featured .pcard__features .tick { color: var(--accent-lt); }
.pcard .btn { width: 100%; padding: 15px; font-size: 12.5px; }
.price-note { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--subtle); }

/* Founding-price banner above the pricing cards */
.founding {
  display: flex; align-items: center; justify-content: center; gap: 10px 14px;
  flex-wrap: wrap; text-align: center;
  margin: 0 auto 34px; max-width: 760px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--paper2); border: 1px solid var(--accent);
}
.founding .star { color: var(--accent); font-size: 15px; line-height: 1; }
.founding strong { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.founding span { font-size: 14px; line-height: 1.4; color: var(--body); }

/* ---------- Feature showcase frames (bookings / payments / profile) ------ */
/* Reserve the screenshot's space while the image loads. */
.shot {
  position: relative; margin: 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(221, 176, 114, .35);
  box-shadow: 0 40px 82px -42px rgba(0, 0, 0, .5);
  background: linear-gradient(135deg, var(--paper2), #e4d5bf);
  aspect-ratio: 16 / 10;
}
.shot img, .shot video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}
.shot--contain img {
  object-fit: contain;
  object-position: center;
  background: var(--paper2);
}
/* ---------- Get started (CTA band) --------------------------------------- */

.cta-band { position: relative; overflow: hidden; color: var(--paper); background: var(--ink); }
.cta-band__bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .42; }
.cta-band__bg.is-loaded { background-image: url('./assets/optimized/photo-start-1280.webp'); }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19, 14, 10, .9), rgba(19, 14, 10, .78)); }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 40%, rgba(221, 176, 114, .2), transparent 70%); animation: omGlow 20s ease-in-out infinite; }
.cta-band__in { position: relative; max-width: 720px; margin: 0 auto; padding: clamp(84px, 9vw, 124px) 24px; text-align: center; }
.cta-band .eyebrow { color: var(--accent-lt); }
.cta-band h2 { color: var(--paper); }
.cta-band__lede { margin: 20px auto 0; max-width: 520px; font-size: 16.5px; line-height: 1.62; color: rgba(244, 235, 221, .78); }
.signup { margin: 34px auto 0; max-width: 480px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.signup input { flex: 1; min-width: 230px; padding: 15px 18px; border-radius: 5px; border: 1px solid rgba(244, 235, 221, .22); background: rgba(255, 255, 255, .05); color: var(--paper); font-size: 15px; font-family: inherit; outline: none; }
.signup input::placeholder { color: rgba(244, 235, 221, .45); }
.signup .btn { border-radius: 5px; }
.signup__note { margin: 16px 0 0; font-size: 13px; color: rgba(244, 235, 221, .55); }

/* ---------- Store badges -------------------------------------------------- */
/* Built in the site's own visual language rather than the stores' PNG badges: those
   are fixed-palette raster assets that sit badly on this dark band. If Google's
   brand guidelines ever require the official "Get it on Google Play" artwork,
   swap the inner spans for an <img> — the layout below already fits one. */
/* Same look as .signup__note, but outside the lockdown hide-rule — this line
   must stay visible while sign-ups are locked, since it IS the message. */
.stores-note { margin: 26px 0 0; font-size: 13px; color: rgba(244, 235, 221, .78); }
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
/* Setting `display` on a class outranks the UA's `[hidden] { display: none }`,
   so without these the badges render even with no store URL configured — i.e.
   dead links on the live site. Keep these next to the display rules above. */
.store-badges[hidden], .store-badge[hidden] { display: none; }
.store-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  min-width: 176px; padding: 10px 20px; border-radius: 7px;
  border: 1px solid rgba(244, 235, 221, .28); background: rgba(255, 255, 255, .05);
  color: var(--paper); text-decoration: none; transition: all .25s ease;
}
.store-badge:hover { border-color: var(--accent-lt); background: rgba(255, 255, 255, .09); }
.store-badge__pre { font: 500 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 235, 221, .6); }
.store-badge__name { font: 600 18px/1.25 var(--sans); }

/* Official store badge art (Microsoft's own SVG). The image IS the button, so
   strip the hand-built chrome and let the artwork carry the frame; the hover
   ring still matches the text badges beside it. */
.store-badge--img { padding: 0; min-width: 0; border-color: transparent; background: none; border-radius: 8px; }
.store-badge--img:hover { background: none; border-color: var(--accent-lt); }
.store-badge--img img { display: block; width: 200px; height: auto; }

/* The supported-language lines list endonyms, so one line mixes Latin, Cyrillic
   and Chinese. Hanken Grotesk is Latin-only and Segoe UI / Roboto stop at
   Cyrillic, so the CJK faces are named explicitly. Note this cannot reuse
   var(--sans): that stack ends in `sans-serif`, and a generic family always
   resolves, which would make every fallback listed after it unreachable. */
[lang="mul"] {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto,
    'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC',
    'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

/* =====================================================================
   Cookie consent (see consent.js). Small on purpose: a corner card, no
   backdrop, nothing covered, no focus trap. It asks once and gets out of
   the way. Decline is the same size and weight as Accept, which is not a
   style choice: a buried or shrunken decline is not valid consent.
   ===================================================================== */
.consent {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; width: 330px; max-width: calc(100vw - 32px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(22, 17, 13, .96); border: 1px solid rgba(244, 235, 221, .16);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
  animation: consent-in .3s ease both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

.consent__copy { margin: 0; font: 400 12.5px/1.5 var(--sans); color: rgba(244, 235, 221, .76); }
.consent__copy a { color: var(--accent-lt); text-decoration: underline; text-underline-offset: 2px; }

.consent__actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent__btn {
  padding: 6px 14px; border-radius: 6px; cursor: pointer;
  font: 600 12.5px/1.2 var(--sans); letter-spacing: .01em;
  border: 1px solid rgba(244, 235, 221, .3); background: transparent; color: var(--paper);
  transition: background .2s ease, border-color .2s ease;
}
.consent__btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(244, 235, 221, .5); }
.consent__btn--yes { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.consent__btn--yes:hover { background: var(--accent-lt); border-color: var(--accent-lt); }

@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ---------- FAQ ----------------------------------------------------------- */

.faq { max-width: 840px; }
.faq__tabs { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; border-bottom: 1px solid rgba(22, 17, 13, .1); }
.faq__tab { min-height: 44px; padding: 10px 4px 14px; border: none; background: transparent; cursor: pointer; font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: all .25s ease; color: var(--muted); margin-bottom: -1px; }
.faq__tab.is-active { color: var(--accent-deep); box-shadow: inset 0 -2px 0 var(--accent); }
.faq__group { display: flex; flex-direction: column; gap: 12px; }
html[data-faq-ready] .faq__group:not(.is-active) { display: none; }
html:not([data-faq-ready]) .faq__tabs { display: none; }
.faq__item { background: var(--paper2); border: 1px solid rgba(22, 17, 13, .08); border-radius: 8px; overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: transparent; border: none; cursor: pointer; text-align: left; font: 600 18px/1.3 var(--serif); color: var(--heading); list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .4s ease; line-height: 1; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a p { padding: 0 24px 20px; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* ---------- Footer -------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(244, 235, 221, .72); padding: 56px 0 40px; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer__brand .brand { color: var(--paper); }
.site-footer__brand .brand__logo { width: 38px; height: 38px; }
.site-footer__brand strong { font: 600 19px/1 var(--serif); color: var(--paper); }
.site-footer__brand p { margin: 16px 0 0; max-width: 360px; font-size: 14.5px; line-height: 1.6; }
.site-footer__brand p + p { margin-top: 14px; }
.site-footer__brand a { color: var(--accent-lt); }
.site-footer__nav { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.site-footer__nav a { color: rgba(244, 235, 221, .72); }
.site-footer__nav a:hover { color: var(--accent-lt); }
.site-footer__base { max-width: var(--maxw); margin: 36px auto 0; padding: 22px 24px 0; border-top: 1px solid rgba(244, 235, 221, .1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(244, 235, 221, .72); }
.site-footer__base a { color: rgba(244, 235, 221, .6); }

/* ---------- Legal pages (privacy / terms / refund) ----------------------- */

.legal { max-width: 780px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 24px clamp(64px, 8vw, 96px); }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font: 500 clamp(34px, 5vw, 52px)/1.06 var(--serif); letter-spacing: -.01em; color: var(--heading); }
.legal .updated { margin: 12px 0 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.legal .lead { margin: 24px 0 0; font-size: 17px; line-height: 1.66; color: var(--muted); }
.legal h2 { font: 600 24px/1.2 var(--serif); color: var(--heading); margin: 40px 0 0; }
.legal p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--body); }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--body); }
.legal a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(154, 106, 52, .35); text-underline-offset: 2px; }
.legal a:hover { color: #70481c; }
.back-link { display: inline-block; margin-top: 44px; font-weight: 600; font-size: 14px; }

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 900px) {
  .tour__bg.is-loaded { background-image: url('./assets/optimized/photo-tour-768.webp'); }
  .band__bg.is-loaded { background-image: url('./assets/optimized/photo-workflows-768.webp'); }
  .maker__bg.is-loaded { background-image: url('./assets/optimized/photo-maker-768.webp'); }
  .cta-band__bg.is-loaded { background-image: url('./assets/optimized/photo-start-768.webp'); }
  .hero__inner, .split, .split--even { grid-template-columns: 1fr; }
  .hero__frame { transform: none; }
  .hero__badge { left: 12px; bottom: -18px; }
  .cards-3, .price-grid { grid-template-columns: 1fr; }
  .devices__benefits { grid-template-columns: 1fr; }
  .devices__phones { justify-content: flex-start; align-items: flex-end; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 8px -24px 0; padding: 8px 24px 12px; }
  .phone { width: 178px; scroll-snap-align: center; }
  .phone--raised { transform: none; }
  .tour__body { grid-template-columns: 1fr; }
  /* module list: tidy 2-column grid */
  .tour__rail { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; border-top: 1px solid rgba(244, 235, 221, .14); margin-bottom: 24px; }
  .tour__tab { width: 100%; padding: 11px 2px; }
  .tour__tab.is-active { transform: none; }
  /* full-width image, arrows + counter in a compact row beneath */
  .tour__stage { column-gap: 12px; row-gap: 14px; }
  .tour__viewport { flex: 0 0 100%; order: 1; }
  .tour__navbtn { width: 40px; height: 40px; font-size: 18px; }
  .tour__navbtn--prev { order: 2; }
  .tour__dots { order: 3; flex: 0 0 auto; }
  .tour__navbtn--next { order: 4; }
  .tour__cap { order: 5; }
  .tour__dot { display: none; }
  .tour__slide { transform: none; transition: opacity .2s ease; }
  .tour__frame img { object-fit: contain; }
  .pcard--featured { transform: none; }
  .site-nav { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__cta .btn, .signup .btn { width: 100%; }
  .intro-photo { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow, .cta-band__glow, .marquee__track, .hero__badge, .hero__anim, .hero__figure { animation: none !important; }
  .hero__anim, .hero__figure { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Temporary sign-up lockdown (see lockdown.js — flip LOCKED there).
   When <html data-locked> is set, the trial / email sign-up forms are
   hidden and a "paused" notice takes their place. Checkout is untouched.
   ===================================================================== */
.signup-paused { display: none; }
html[data-locked] .signup,
html[data-locked] #trialForm { display: none !important; }
html[data-locked] .signup-paused { display: block; }
html[data-locked] .signup__note:not(.signup-paused) { display: none; }
html[data-locked] #trialOk { display: none !important; }

/* =====================================================================
   Feedback form (feedback.html).
   The signup forms on index.html sit inside the dark .cta-band and carry
   their own inline light-on-dark styling. This form lives on a light
   .legal page, so it needs the ink-on-paper counterpart.
   ===================================================================== */
.form-field { margin: 22px 0 0; }
.form-field > label { display: block; font-weight: 600; font-size: 14.5px; color: var(--heading); }
.form-field .hint { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--subtle); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(22, 17, 13, .18);
  border-radius: 10px;
  background: #fff;
  color: var(--body);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 1px; border-color: var(--accent-deep); }
.form-field input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(22, 17, 13, .28);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
}
.form-field input[type="file"]:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 1px; border-color: var(--accent-deep); }
.file-list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(22, 17, 13, .08); }
.file-list li span { min-width: 0; overflow-wrap: anywhere; }
.file-list__remove { flex: none; padding: 4px 10px; border: 1px solid rgba(22, 17, 13, .18); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--heading); cursor: pointer; }
.file-list__remove:hover { border-color: var(--accent); }
.file-list__remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-req { color: var(--accent-deep); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 30px 0 0; }
.form-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.form-note[data-state="error"] { color: #8c2f22; font-weight: 600; }
.form-note[data-state="ok"] { color: var(--accent-deep); font-weight: 600; }
.form-meta { margin: 10px 0 0; font-size: 13px; color: var(--subtle); }
/* Off-screen rather than display:none — a bot that respects CSS is the point,
   and display:none is the one rule the common ones do skip. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .form-actions .btn { width: 100%; }
}


/* --- CTA band: the three ways in -------------------------------------------
   Beta, launch waitlist and Mac/iOS were previously stacked as running text
   with a hairline between them, which read as one long paragraph. Each is now
   its own bordered card so a visitor can see at a glance that there are three
   choices and which one is theirs. */
.cta-opts { margin: 34px auto 0; max-width: 620px; display: grid; gap: 16px; text-align: left; }
.cta-opt {
  padding: 22px 22px 20px;
  border: 1px solid rgba(244, 235, 221, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}
/* The beta is the ask that matters most right now, so it gets the accent. */
.cta-opt--primary { border-color: rgba(192, 137, 74, .55); background: rgba(192, 137, 74, .1); }
.cta-opt__kicker {
  margin: 0; font: 700 11px/1 var(--sans); letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-lt);
}
.cta-opt__title { margin: 10px 0 0; font-size: 18px; line-height: 1.3; color: var(--paper); }
.cta-opt__copy { margin: 7px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(244, 235, 221, .72); }
.cta-opt__label { display: block; margin-top: 16px; font-size: 14px; color: var(--paper); }
.cta-opt__row { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-opt__row input {
  flex: 1 1 240px; min-width: 0; padding: 13px 15px; border-radius: 8px;
  border: 1px solid rgba(244, 235, 221, .28); background: rgba(255, 255, 255, .07);
  color: var(--paper); font: inherit; font-size: 16px;
}
.cta-opt__row input::placeholder { color: rgba(244, 235, 221, .72); }
.cta-opt__row input:focus { border-color: var(--accent-lt); }
.cta-opt__row .btn { border-radius: 8px; flex: 0 0 auto; }
.cta-opt__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(244, 235, 221, .78); }
@media (max-width: 560px) {
  .cta-opt__row .btn { flex: 1 1 100%; }
}
