/* getirise.com. The page wears the app's two looks: Blush (light) is the base set of
   tokens, Slate (dark) redefines them. One column on a phone; hero, features and the
   two-part sections go side by side from 860px. */

@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/Manrope-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("fonts/DMSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url("fonts/DMSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("fonts/DMSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("fonts/ChakraPetch-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/Barlow-Bold.woff2") format("woff2"); }

:root {
  --maxw: 1080px;
  --ground: #FAF4F2; --card: #FFFFFF; --card-edge: transparent; --card-shadow: 0 10px 24px -8px rgba(120,60,60,.18);
  --ink: #2B1E22; --text2: #5E4A50; --muted: #7D666C; --line: #EEDDD9; --inset: #F7EAE7; --field-edge: #DCC5C0;
  --accent: #D8566F; --accent-soft: #FBE1E6; --accent-ink: #B93A55;
  --cta-bg: #C9435E; --cta-ink: #FFFFFF; --cta-radius: 999px;
  --ghost-bg: #FFFFFF; --ghost-edge: #EEDDD9;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif; --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --d-weight: 800; --d-track: -0.035em;
  --phone-shadow: 0 30px 60px -28px rgba(120,60,60,.5), 0 0 0 1px rgba(120,60,60,.08);
  --blur: none;
  color-scheme: light;
}
:root[data-look="slate"] {
  --ground: #25282B; --card: rgba(255,255,255,.065); --card-edge: rgba(255,255,255,.13); --card-shadow: none;
  --ink: #EDEEF0; --text2: #CFD1D5; --muted: #B0B4BA; --line: rgba(255,255,255,.13); --inset: rgba(255,255,255,.06); --field-edge: rgba(255,255,255,.18);
  --accent: #00A2C7; --accent-soft: rgba(0,162,199,.2); --accent-ink: #5FD3EC;
  --cta-bg: #19B5D8; --cta-ink: #04222B; --cta-radius: 9px;
  --ghost-bg: rgba(255,255,255,.09); --ghost-edge: rgba(255,255,255,.15);
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif; --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --d-weight: 700; --d-track: -0.01em;
  --phone-shadow: 0 30px 70px -26px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.1);
  /* No backdrop blur on the page: over this smooth lit ground it changes nothing, and
     Chrome draws bright bands a blur-radius in from a blurred card's edges. */
  --blur: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; }

/* Slate's lit ground: the app's three lights over the slate gradient, plus its grain */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
:root[data-look="slate"] body::before {
  background:
    radial-gradient(60vmax 60vmax at 8% 12%, rgba(0,162,199,.42), transparent 70%),
    radial-gradient(55vmax 55vmax at 95% 42%, rgba(234,93,88,.34), transparent 70%),
    radial-gradient(70vmax 70vmax at 20% 88%, rgba(62,99,221,.42), transparent 70%),
    linear-gradient(#272A2D, #242629);
}
:root[data-look="slate"] body::after {
  opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.display { font-family: var(--display); font-weight: var(--d-weight); letter-spacing: var(--d-track); line-height: 1.02; text-wrap: balance; }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.card { background: var(--card); border: 1px solid var(--card-edge); border-radius: 24px; box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* top bar */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: var(--d-weight) 20px/1 var(--display); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.nav-right { display: flex; align-items: center; gap: 8px; }

.seg { display: inline-flex; padding: 3px; border-radius: var(--cta-radius); background: var(--ghost-bg); border: 1px solid var(--ghost-edge); }
.seg button, .seg a { font: 600 14px/1 var(--body); color: var(--text2); background: none; border: 0; min-height: 38px; padding: 0 14px;
  border-radius: calc(var(--cta-radius) - 2px); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.seg button[aria-pressed="true"], .seg a[aria-current="true"] { background: var(--ink); color: var(--ground); }
.seg .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(128,128,128,.4); }
.dot-blush { background: #D8566F; }
.dot-slate { background: #00A2C7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: var(--cta-radius);
  font: 700 16.5px/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, filter .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cta-bg); color: var(--cta-ink); }
.btn-ghost { background: var(--ghost-bg); border-color: var(--ghost-edge); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* hero */
.hero { display: grid; gap: 34px; padding-block: 18px 56px; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent-ink); font: 700 13.5px/1 var(--body); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(44px, 12.5vw, 92px); white-space: pre-line; }
.lead { font-size: 18.5px; color: var(--text2); max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { font-size: 14px; color: var(--muted); }
.hero-shot { display: grid; gap: 16px; justify-items: center; }
.look-pick { display: grid; gap: 8px; justify-items: center; }
.look-pick span { font-size: 13.5px; color: var(--muted); }

.phone { position: relative; width: min(290px, 72vw); max-width: 100%; aspect-ratio: 1170 / 2532; border-radius: 38px; overflow: hidden;
  box-shadow: var(--phone-shadow); background: var(--inset); }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
:root:not([data-look="slate"]) .phone .v-blush, :root[data-look="slate"] .phone .v-slate { opacity: 1; }

/* fact cards (early access, privacy) */
.facts-section { padding-block: 8px 56px; }
.facts-card { padding: 28px 22px; display: grid; gap: 24px; }
.facts-card h2 { font-size: clamp(30px, 7vw, 46px); }
.facts { display: grid; gap: 20px; }
.fact { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); min-width: 0; align-content: start; }
.fact h3 { font: 700 18px/1.2 var(--display); }
.fact p { font-size: 16px; color: var(--text2); }

/* features */
.features { padding-block: 8px 24px; display: grid; gap: 12px; }
.features > h2 { font-size: clamp(32px, 8vw, 54px); margin-bottom: 12px; }
.feature { display: grid; gap: 24px; padding-block: 34px; border-top: 1px solid var(--line); align-items: center; }
.feature .phone { justify-self: center; width: min(250px, 64vw); border-radius: 34px; }
.feature-copy { display: grid; gap: 12px; max-width: 42ch; }
.feature-copy h3 { font-size: clamp(28px, 6.4vw, 40px); }
.feature-copy p { color: var(--text2); }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text2); }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feature-copy p.fine { color: var(--muted); }
/* A feature that is announced but not shown yet: no clip, a "work in progress" tag. */
.feature-copy .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--accent-ink); }
.wip { padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); letter-spacing: .04em; }

/* home-screen how-to */
.howto { padding-block: 0 56px; }
.howto-card { padding: 28px 22px; display: grid; gap: 22px; }
.howto-head { display: grid; gap: 10px; align-content: start; justify-items: start; }
.howto-head h2 { font-size: clamp(30px, 7vw, 46px); }
.howto-head p { color: var(--text2); max-width: 46ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: var(--inset); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--ground); font: 700 16px/1 var(--display); }
.steps b { font-weight: 700; }
.steps small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.steps .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent-ink); }
.steps .ico svg { width: 22px; height: 22px; }
.tip { display: flex; gap: 10px; font-size: 15px; color: var(--text2); padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line); }
.tip svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-ink); }

/* feedback */
.feedback { padding-block: 0 64px; display: grid; gap: 24px; }
.feedback-head { display: grid; gap: 10px; align-content: start; }
.feedback-head h2 { font-size: clamp(30px, 7vw, 46px); }
.feedback-head p { color: var(--text2); max-width: 40ch; }
form { display: grid; gap: 12px; max-width: 560px; }
label { font-size: 14px; font-weight: 600; color: var(--text2); display: grid; gap: 6px; }
textarea, input[type="email"] { font: 400 16px/1.45 var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--field-edge);
  border-radius: 14px; padding: 13px 14px; width: 100%; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
textarea { min-height: 120px; resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
.form-note { font-size: 14.5px; color: var(--accent-ink); font-weight: 600; }
form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { border-top: 1px solid var(--line); padding-block: 24px 36px; }
.foot { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.foot .brand { font-size: 16px; color: var(--ink); }
.foot .brand img { width: 26px; height: 26px; border-radius: 7px; }

@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; padding-block: 36px 80px; }
  /* Keep the phone AND the look switch under it inside the first screen on short
     laptop windows: the phone gives up height before the switch drops below the fold. */
  .hero .phone { width: min(290px, max(170px, calc((100vh - 270px) * 0.462))); }
  .facts-card, .howto-card { padding: 44px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 48px; }
  .feature:nth-of-type(even) .phone { order: 2; }
  .feature-wip { grid-template-columns: minmax(0, 1fr); }
  .howto-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .howto-card .steps, .howto-card .tip { grid-column: 2; }
  .howto-head { grid-row: span 3; }
  .feedback { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status i { animation: none; }
  .btn, .phone video { transition: none; }
}
