@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4efe6;
  --paper: #fbf8f2;
  --ink: #2a211c;
  --muted: #6f6258;
  --line: #e2d7c6;
  --barn: #7a2e1f;
  --barn-dark: #5c2116;
  --hay: #c99a3e;
  --mark-cut: var(--bg);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barn); text-underline-offset: 2px; }
a:hover { color: var(--barn-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 .5em; font-variation-settings: 'opsz' 72; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-variation-settings: 'opsz' 24; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--hay); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.brand b { color: var(--barn); font-weight: 700; }
.mark { width: 30px; height: 30px; color: var(--barn); flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--barn); }
@media (max-width: 760px) { .nav { display: none; } .top-in .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--barn); background: var(--barn); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--barn-dark); border-color: var(--barn-dark); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--barn); }
.btn-ghost:hover { background: var(--barn); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--barn); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #4a3f37; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { font-size: .9rem; color: var(--muted); }
.for-page h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.hero-art { position: relative; margin: 0; min-height: 520px; }
/* The images are phones already (frame and all, on a transparent background): only a soft shadow is added. */
.shot { position: absolute; width: min(285px, 50%); filter: drop-shadow(0 28px 30px rgba(42, 33, 28, .28)); }
.shot-icon { left: 2%; top: 44px; transform: rotate(-5deg); }
.shot-app { right: 2%; top: 0; transform: rotate(3deg); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; display: flex; justify-content: center; gap: 4%; padding-top: 8px; }
  .shot { position: static; width: 44%; max-width: 250px; }
  .shot-icon { margin-top: 28px; }
}

/* proof */
.proof { background: var(--paper); border-block: 1px solid var(--line); }
.proof-in { padding: 26px 0; }
.proof p { margin: 0; font-size: 1.08rem; max-width: 60em; }
.proof strong { font-family: var(--display); font-weight: 600; color: var(--barn); }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-lead { font-size: 1.15rem; color: #4a3f37; max-width: 36em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 18px; border-top: 4px solid var(--barn); }
.card p { color: #4a3f37; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.section-dark { background: var(--ink); color: var(--bg); --mark-cut: var(--ink); }
.section-dark .section-lead { color: #d9cfc2; }
.section-dark h2 { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--barn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.section-dark .checks li::before { background-color: var(--hay); }
.section-dark .checks b { color: #fff; }
.checks-tight { gap: 10px; margin: 18px 0 24px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--barn); color: var(--barn); display: grid; place-items: center; font: 700 1.05rem/1 var(--display); }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 24px 48px -28px rgba(42, 33, 28, .35); }
.price { font-family: var(--display); font-size: 1.3rem; margin: 0; color: var(--muted); }
.price span { font-size: clamp(3.4rem, 7vw, 4.6rem); color: var(--ink); font-weight: 700; letter-spacing: -0.04em; margin-right: 4px; }

/* form */
.section-form { background: var(--paper); border-top: 1px solid var(--line); }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #cfc2ae; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--barn); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--barn) 20%, transparent); }
.field [aria-invalid='true'] { border-color: #b3261e; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .88rem; line-height: 1.5; color: #4a3f37; align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--barn); }
.form-error { background: #fbe9e7; color: #8c1d18; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* questions */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font: 600 1.15rem/1.3 var(--display); list-style: none; position: relative; padding-right: 32px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font: 400 1.6rem/1 var(--body); color: var(--barn); }
details[open] summary::after { content: '\2212'; }
details p { margin: 12px 0 0; color: #4a3f37; }

/* documents */
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.45rem; margin-top: 1.6em; }
.doc .plain { padding-left: 1.2em; display: grid; gap: 8px; }
.thanks { min-height: 50vh; }

/* footer */
.foot { background: var(--ink); color: #d9cfc2; padding: 48px 0 28px; --mark-cut: var(--ink); }
.foot .brand { color: #fff; }
.foot .brand b, .foot .mark { color: #e08a6f; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot p { margin: 10px 0 0; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { color: #f4efe6; }
.foot-small { margin-top: 28px; font-size: .85rem; color: #a99c90; }
