:root {
  --ink: #102b2a;
  --ink-soft: #38504f;
  --paper: #fffaf6;
  --paper-warm: #fff0e8;
  --white: #ffffff;
  --ember: #f24822;
  --ember-dark: #ce3114;
  --sun: #ffb020;
  --focus: #2364e8;
  --mint: #d9f7e7;
  --mint-strong: #78d7a8;
  --line: rgba(16, 43, 42, 0.13);
  --shadow-sm: 0 12px 32px rgba(46, 34, 25, 0.08);
  --shadow-lg: 0 34px 80px rgba(73, 41, 20, 0.16);
  --radius-sm: 0.9rem;
  --radius-md: 1.45rem;
  --radius-lg: 2.25rem;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
}

.announcement {
  padding: 0.55rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.announcement a {
  margin-left: 0.35rem;
  color: #ffd8c7;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 2.45rem;
  aspect-ratio: 1;
  border-radius: 0.68rem;
  box-shadow: 0 4px 12px rgba(16, 43, 42, 0.13);
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.68rem;
  color: var(--white);
  background: var(--ember);
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.main-nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav > a:not(.button):hover,
.main-nav > a[aria-current="page"] {
  color: var(--ember-dark);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.35rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ember-dark);
  box-shadow: 0 12px 26px rgba(242, 72, 34, 0.24);
}

.button-primary:hover {
  background: #a9250d;
  box-shadow: 0 15px 34px rgba(206, 49, 20, 0.28);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(16, 43, 42, 0.2);
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.button svg {
  width: 1.12rem;
  flex: none;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(4rem, 8vw, 7.6rem) 0 clamp(4.8rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 176, 32, 0.2), transparent 27rem),
    radial-gradient(circle at 90% 35%, rgba(242, 72, 34, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 32rem;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 72, 34, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  color: var(--ember-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.56rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(242, 72, 34, 0.12);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.25rem, 7.1vw, 6.75rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 38rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0 0 1.7rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-button {
  min-height: 4rem;
  padding-inline: 1.35rem;
}

.store-button svg {
  width: 1.45rem;
}

.store-button small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.store-button strong {
  display: block;
  font-size: 1.08rem;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 1.35rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
  list-style: none;
}

.micro-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.micro-proof li::before {
  color: var(--ember);
  content: "✓";
  font-weight: 950;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
}

.hero-visual::before {
  position: absolute;
  inset: 12% 4% 0;
  border-radius: 48% 52% 46% 54% / 54% 43% 57% 46%;
  background: linear-gradient(145deg, #ffb020 0%, #ff6c38 54%, #e84022 100%);
  box-shadow: var(--shadow-lg);
  content: "";
  transform: rotate(-4deg);
}

.hero-phone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(68%, 21rem);
  margin: 0;
  padding: 0.54rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 2.7rem;
  background: #101817;
  box-shadow: 0 38px 85px rgba(56, 32, 16, 0.34);
  transform: translateX(-50%) rotate(3.5deg);
}

.hero-phone img {
  width: 100%;
  border-radius: 2.2rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  max-width: 13rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.25;
}

.floating-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.floating-card .card-icon {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border-radius: 0.82rem;
  background: var(--paper-warm);
  font-size: 1.25rem;
}

.floating-card-one {
  top: 12%;
  left: -2%;
}

.floating-card-two {
  right: -3%;
  bottom: 15%;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  min-height: 7.3rem;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 1rem 2rem;
  border-left: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: 1.06rem;
  font-weight: 900;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-tight {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-warm {
  background: var(--paper-warm);
}

.section-dark {
  color: #e9f4ef;
  background: var(--ink);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .eyebrow {
  color: #ffb795;
}

.section-dark .eyebrow::before {
  background: #ffb795;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(2.4rem, 5vw, 4.6rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: 2rem;
  align-items: end;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 35rem;
  margin: 0 0 0.35rem auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading-single {
  grid-template-columns: 1fr;
}

.section-action {
  margin-top: 2rem;
}

.kicker-light {
  color: var(--white);
}

.section-dark .section-heading > p {
  color: #b8cfca;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  position: relative;
  min-height: 22rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.bento-card:nth-child(1) {
  grid-column: span 7;
  background: linear-gradient(145deg, #ffe4d5, #fff9f4);
}

.bento-card:nth-child(2) {
  grid-column: span 5;
  color: var(--white);
  background: var(--ink);
}

.bento-card:nth-child(2) h3,
.bento-card:nth-child(4) h3 {
  color: var(--white);
}

.bento-card:nth-child(3),
.bento-card:nth-child(4) {
  grid-column: span 6;
}

.bento-card:nth-child(3) {
  background: var(--mint);
}

.bento-card:nth-child(4) {
  background: var(--ember-dark);
}

.bento-card p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.bento-card:nth-child(2) p,
.bento-card:nth-child(4) p {
  color: var(--white);
}

.feature-icon {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  margin-bottom: 3.4rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.55rem;
  box-shadow: 0 8px 22px rgba(16, 43, 42, 0.09);
}

.steps {
  display: grid;
  counter-reset: steps;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  margin-bottom: 4rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--sun);
  content: "0" counter(steps);
  font-size: 0.78rem;
  font-weight: 950;
}

.step-card p {
  margin-bottom: 0;
  color: #b8cfca;
}

.screen-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-bottom: 1.1rem;
}

.round-button {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.round-button:hover {
  color: var(--white);
  background: var(--ink);
}

.screen-rail {
  display: flex;
  gap: 1.25rem;
  margin-right: calc((100vw - min(calc(100vw - 2rem), var(--max))) / -2);
  padding: 0 2rem 1.8rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ember) rgba(16, 43, 42, 0.08);
  scrollbar-width: thin;
}

.screen-shot {
  width: clamp(16rem, 26vw, 20rem);
  flex: 0 0 auto;
  margin: 0;
  padding: 0.42rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.3rem;
  background: #1b201f;
  box-shadow: var(--shadow-lg);
  scroll-snap-align: start;
}

.screen-shot img {
  width: 100%;
  border-radius: 1.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.content-card {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.content-card:hover {
  border-color: rgba(242, 72, 34, 0.45);
  box-shadow: 0 22px 50px rgba(73, 41, 20, 0.13);
  transform: translateY(-5px);
}

.content-card .card-number {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  margin-bottom: 3rem;
  place-items: center;
  border-radius: 0.82rem;
  color: var(--ember-dark);
  background: var(--paper-warm);
  font-size: 0.75rem;
  font-weight: 950;
}

.content-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.content-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--ember-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.blog-card {
  min-height: 24rem;
}

.blog-card .tag,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  color: var(--ember-dark);
  background: var(--paper-warm);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.1rem;
  color: #6f7d7c;
  font-size: 0.76rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ember-dark);
  font-weight: 850;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.55rem 0;
  cursor: pointer;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 850;
  list-style: none;
}

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

.faq-item summary::after {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-weight: 500;
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 735px;
  padding: 0 0 1.55rem;
  color: var(--ink-soft);
}

.faq-answer p {
  margin-top: 0;
}

.download-band {
  position: relative;
  padding: clamp(2rem, 5vw, 4.2rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ember-dark);
  box-shadow: var(--shadow-lg);
}

.download-band::after {
  position: absolute;
  top: -9rem;
  right: -7rem;
  width: 25rem;
  aspect-ratio: 1;
  border: 5rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr auto;
  gap: 2rem;
}

.download-band h2 {
  max-width: 12ch;
  margin: 0 0 0.8rem;
  color: var(--white);
}

.download-band p {
  max-width: 42rem;
  margin: 0;
  color: var(--white);
}

.store-note {
  margin-top: 0.85rem !important;
  font-size: 0.78rem;
}

.site-footer {
  padding: 4.5rem 0 2rem;
  color: #bed0cc;
  background: #0b2221;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(130px, 0.55fr));
  gap: 2rem;
}

.site-footer .brand {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-intro {
  max-width: 24rem;
  margin: 0;
  font-size: 0.9rem;
}

.footer-column h2 {
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.6rem;
  list-style: none;
}

.footer-column a {
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 72, 34, 0.12), transparent 25rem),
    var(--paper-warm);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.page-hero p {
  max-width: 49rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.8rem;
  padding: 0;
  color: #647574;
  font-size: 0.76rem;
  font-weight: 750;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 0.4rem;
  color: #9aa6a5;
  content: "/";
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.article {
  min-width: 0;
  color: #263f3e;
  font-size: 1.04rem;
}

.article > :first-child {
  margin-top: 0;
}

.article h2 {
  margin: 3.6rem 0 1.1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.article h3 {
  margin: 2.4rem 0 0.8rem;
  font-size: clamp(1.35rem, 2.7vw, 1.75rem);
}

.article p,
.article ul,
.article ol {
  max-width: 48rem;
}

.article li + li {
  margin-top: 0.55rem;
}

.article table {
  width: 100%;
  margin: 1.8rem 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article th,
.article td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article th {
  color: var(--ink);
  background: var(--paper-warm);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.article a:not(.button) {
  color: var(--ember-dark);
  font-weight: 720;
}

.article-lead {
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 620;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin-top: 1.5rem;
  color: #647574;
  font-size: 0.8rem;
  font-weight: 750;
}

.answer-box,
.callout,
.source-box {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.answer-box {
  border-left: 5px solid var(--ember);
  background: var(--paper-warm);
}

.answer-box strong,
.callout strong,
.source-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.answer-box p:last-child,
.callout p:last-child,
.source-box p:last-child,
.source-box ul:last-child {
  margin-bottom: 0;
}

.callout {
  background: var(--mint);
}

.source-box {
  background: #f4f7f6;
  font-size: 0.9rem;
}

.article-cta {
  margin: 3.5rem 0 1rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink);
}

.article-cta h2,
.article-cta h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
}

.article-cta p {
  margin-top: 0;
  color: #c5d8d3;
}

.toc {
  position: sticky;
  top: 7rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.toc strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  margin: 0;
  padding-left: 1.15rem;
  gap: 0.6rem;
}

.toc a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ember-dark);
}

.pagination {
  display: flex;
  margin-top: 3rem;
  justify-content: space-between;
  gap: 1rem;
}

.pagination a {
  display: block;
  max-width: 48%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.pagination a:hover {
  border-color: var(--ember);
}

.legal-note {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  color: #4f605f;
  background: #f2f5f4;
  font-size: 0.78rem;
}

.empty-state {
  padding: 4rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.not-found-title {
  max-width: none;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    z-index: 99;
    inset: 5rem 0 auto;
    display: none;
    padding: 1.5rem 1rem 2rem;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    flex-direction: column;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
  }

  .main-nav[data-open] {
    display: flex;
  }

  .main-nav > a:not(.button) {
    padding: 0.65rem 0.2rem;
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-visual {
    width: min(100%, 34rem);
    min-height: 40rem;
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .bento-card:nth-child(n) {
    grid-column: span 6;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-wrap {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .shell,
  .narrow {
    width: min(calc(100% - 1.35rem), var(--max));
  }

  .announcement {
    font-size: 0.73rem;
  }

  .nav-wrap {
    min-height: 4.4rem;
  }

  .main-nav {
    inset: 4.4rem 0 auto;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .hero-phone {
    width: min(68%, 18.5rem);
  }

  .screen-rail {
    margin-right: 0;
    padding-right: 0.35rem;
  }

  .floating-card {
    max-width: 11rem;
    padding: 0.75rem 0.8rem;
  }

  .proof-grid {
    padding: 1.2rem 0;
    grid-template-columns: 1fr 1fr;
  }

  .proof-item,
  .proof-item:first-child {
    padding: 0.8rem 0.6rem;
    border: 0;
  }

  .bento-card:nth-child(n) {
    min-height: 19rem;
    grid-column: 1 / -1;
  }

  .steps,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .step-card::before,
  .feature-icon {
    margin-bottom: 2.2rem;
  }

  .content-card,
  .blog-card {
    min-height: 18rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-grid .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination {
    flex-direction: column;
  }

  .pagination a {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .article-cta,
  .toc {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }
}
