/* Augre — "Studio" editorial design system
   Warm paper, ink, a single cobalt accent. Hanken Grotesk display +
   Fraunces italic serif for editorial accents. Hairline rules, a 12-col
   feel, the product shown as a plate. Shared by home + feature pages. */

:root {
  --paper: #efede6;
  --paper-2: #e9e6dc;
  --ink: #15171c;
  --ink-soft: #5e6068;
  --rule: #15171c;
  --hair: rgba(21, 23, 28, 0.14);
  --accent: #2438d6;
  --accent-ink: #1a2bb0;
  --gutter: clamp(18px, 3vw, 32px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.font-head {
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

.font-code {
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-dot {
  width: 13px;
  height: 13px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
.footer-inner a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover,
.footer-inner a:hover {
  color: var(--accent);
}

/* index strip under the masthead */
.index-strip {
  border-bottom: 1px solid var(--hair);
}

.index-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 32px;
  padding: 11px 0;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.index-strip span {
  white-space: nowrap;
}

.index-strip b {
  color: var(--ink);
  font-weight: 600;
}

/* Narrow: stack with clear spacing instead of crowding the row */
@media (max-width: 760px) {
  .index-strip .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- Labels ---------- */
.kicker,
.eyebrow,
.num {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}

.eyebrow {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn.large {
  min-width: 230px;
}

/* ---------- Home hero (12-col) ---------- */
.hero {
  padding: clamp(48px, 6vw, 76px) 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}

.hero-copy {
  grid-column: 1 / 8;
}

.hero-aside {
  grid-column: 9 / 13;
  padding-bottom: 10px;
}

.hero-aside p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.headline {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
}

.headline .it {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sub {
  color: var(--ink);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  margin: 0;
  max-width: 40ch;
}

/* ---------- Plate (product shot) ---------- */
.plate {
  margin-top: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.plate figure {
  margin: 0;
  border: 1px solid var(--rule);
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
}

.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 2px 0;
}

/* ---------- Blocks (home) ---------- */
.block {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.block.flush {
  border-top: 0;
  padding-top: 0;
}

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

.block .label {
  grid-column: 1 / 4;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.statement {
  grid-column: 4 / 13;
}

.statement .big {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0;
}

.statement .big em {
  font-style: italic;
  color: var(--accent);
}

.statement .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 22px 0 0;
}

/* ---------- Ruled rows (features / pillars) ---------- */
.rows {
  grid-column: 1 / 13;
  border-top: 1px solid var(--hair);
}

.row {
  display: grid;
  grid-template-columns: 0.5fr 3fr 5fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
}

.row .rn {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
}

.row h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.row a {
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
}

.row a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Feature pages ---------- */
.page-hero {
  padding: clamp(56px, 9vw, 104px) 0 clamp(36px, 5vw, 64px);
}

.page-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0;
}

.page-title em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.page-subtitle {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.6;
  margin: 24px 0 32px;
  max-width: 64ch;
}

/* statement band (the "answer" question) */
.band {
  border-top: 1px solid var(--rule);
}

.band .answer {
  padding: clamp(48px, 7vw, 90px) 0;
}

.answer {
  max-width: 980px;
}

.answer h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 22ch;
}

.answer p:last-child {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
  max-width: 60ch;
  margin: 0;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

/* workflow split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.steps li {
  align-items: baseline;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}

.steps span {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}

.steps p {
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  font-size: 16px;
}

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--hair);
}

.feature-card {
  padding: 30px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.card h3,
.feature-card h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.card p,
.feature-card p,
.feature-body p,
.workflow p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.card a,
.feature-card a,
.inline-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.card a:hover,
.feature-card a:hover,
.inline-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* limits note */
.limits {
  border: 1px solid var(--hair);
  border-left: 2px solid var(--accent);
  padding: 26px 28px;
  background: var(--paper-2);
}

.limits p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

/* faq */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 600;
}

.faq details[open] summary::after {
  content: '–';
}

.faq p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0 0;
  max-width: 70ch;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

/* ---------- Download ---------- */
.download-section {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: clamp(64px, 9vw, 120px) 0;
}

.download-content {
  text-align: center;
}

.download-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.download-title em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.download-subtitle {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
  margin: 14px auto 30px;
  max-width: 60ch;
}

.download-buttons {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.download-buttons > div:not(.hidden) {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.download-note {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.mobile-banner {
  max-width: 540px;
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 22px;
  text-align: left;
}

.mobile-banner h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  margin: 0 0 8px;
}

.mobile-banner p {
  color: var(--ink-soft);
  margin: 0;
}

.hidden {
  display: none !important;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}

.mono-emoji {
  filter: grayscale(1);
  opacity: 0.65;
  font-size: 0.95em;
}

.footer-inner {
  color: var(--ink-soft);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .block-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-aside,
  .block .label,
  .statement,
  .rows {
    grid-column: auto;
  }

  .hero-aside {
    padding-bottom: 0;
  }

  .block .label {
    margin-bottom: 22px;
  }

  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-left: 1px solid var(--hair);
  }

  .row {
    grid-template-columns: 40px 1fr;
    gap: 8px 16px;
  }

  .row p {
    grid-column: 2;
  }

  .row a {
    grid-column: 2;
    justify-self: start;
  }

}

@media (max-width: 560px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  nav {
    justify-content: flex-start;
    gap: 16px;
  }

  nav a {
    font-size: 13px;
  }

  .hero-cta,
  .download-buttons > div:not(.hidden) {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .plate img {
    min-height: 180px;
    object-fit: cover;
    object-position: top center;
  }
}

/* ---------- Dark theme (follows OS preference) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121318;
    --paper-2: #191a20;
    --ink: #e8e9ef;
    --ink-soft: #969aa6;
    --rule: #363842;
    --hair: rgba(232, 233, 239, 0.12);
    --accent: #6271ff;
    --accent-ink: #8088ff;
  }

  /* primary hover must stay readable when --ink is light */
  .btn.primary:hover {
    background: #8088ff;
    border-color: #8088ff;
    color: #0b0c10;
  }

  /* the dark app screenshot blends into the page; give the plate a deep ground */
  .plate figure {
    background: #0d0e12;
  }
}
