/* DoorDing website. Archivo only: expanded headlines, normal body, condensed numerals.
   Forest + door green, no all-caps, hairlines instead of boxes. */
:root {
  --forest: #0b3d2a;
  --forest-deep: #072a1d;
  --forest-ink: #ffffff;
  --forest-sub: #bfe3cf;
  --door: #1fc77e;
  --door-hover: #35d58f;
  --door-ink: #04210f;
  --link: #0a7a4b;
  --bg: #f4f8f5;
  --surface: #ffffff;
  --tint: #e3f4ea;
  --ink: #0e2219;
  --ink-2: #3f564b;
  --muted: #5d7468;
  --line: #d8e4dc;
  --bezel: #0b1510;
  --focus: #0a7a4b;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
  --wide: 120%;
  --narrow: 75%;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1a13; --surface: #10261c; --tint: #143326; --ink: #eaf4ee; --ink-2: #b3cbbd; --muted: #93aa9d;
    --line: #244335; --link: #5fe0a5; --bezel: #1c2a22; --focus: #5fe0a5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1a13; --surface: #10261c; --tint: #143326; --ink: #eaf4ee; --ink-2: #b3cbbd; --muted: #93aa9d;
  --line: #244335; --link: #5fe0a5; --bezel: #1c2a22; --focus: #5fe0a5; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f); font-stretch: 100%; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--door); }
h1, h2, h3 { font-stretch: var(--wide); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--door); color: var(--door-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 99; }
.skip:focus { left: 12px; }
html[lang="es"] .en, html:not([lang="es"]) .es { display: none !important; }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; font-stretch: var(--wide); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 13px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); }
.lang { display: inline-flex; background: rgba(255,255,255,.14); border-radius: 12px; padding: 3px; margin-left: 8px; }
.lang button { font: 700 .95rem var(--f); color: #fff; background: transparent; border: 0; border-radius: 9px; min-width: 44px; min-height: 38px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--forest); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }
.doc-page .top, .page-dark .top { position: static; background: var(--forest); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 14px; font: 700 1.05rem var(--f); text-decoration: none; border: 0; cursor: pointer; }
.btn-door { background: var(--door); color: var(--door-ink); }
.btn-door:hover { background: var(--door-hover); color: var(--door-ink); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.appstore { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 16px; border-radius: 14px; background: var(--door); color: var(--door-ink); text-decoration: none; }
.appstore:hover { background: var(--door-hover); color: var(--door-ink); }
.appstore svg { flex: none; }
.appstore small { display: block; font-size: .8rem; line-height: 1.1; font-weight: 600; }
.appstore b { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; font-stretch: 110%; letter-spacing: -0.01em; }

/* phone frame */
.phone { position: relative; width: 300px; border-radius: 46px; padding: 11px; background: var(--bezel); box-shadow: 0 2px 0 rgba(255,255,255,.18) inset, 0 40px 80px -20px rgba(4,20,12,.55), 0 0 0 1px rgba(0,0,0,.35); }
.phone::before { content: ""; position: absolute; left: 50%; top: 22px; width: 88px; height: 24px; transform: translateX(-50%); background: var(--bezel); border-radius: 14px; z-index: 2; }
.phone .screen { position: relative; overflow: hidden; border-radius: 36px; background: var(--forest); }
.phone .screen::before { content: "9:41"; display: block; height: 52px; padding: 16px 0 0 30px; color: #fff; font: 600 .95rem/1 var(--f); }
.phone img, .phone picture { width: 100%; }
.phone img { height: auto; }

/* hero */
.hero { position: relative; color: var(--forest-ink); background: var(--forest); z-index: 1; }
.hero .sat { position: absolute; inset: 0; background: url("/assets/img/aerial.webp") center / cover no-repeat; z-index: -2; overflow: hidden; }
.hero .wash { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,61,42,.98) 0%, rgba(11,61,42,.94) 38%, rgba(11,61,42,.55) 64%, rgba(11,61,42,.25) 100%),
              linear-gradient(0deg, rgba(7,42,29,.9) 0%, rgba(7,42,29,0) 40%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; padding-top: 150px; min-height: 740px; }
.hero .copy { padding-bottom: 96px; }
.hero h1 { max-width: 9.5em; margin-bottom: .35em; }
.hero p.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--forest-sub); max-width: 30em; line-height: 1.5; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 32px 0 16px; }
.hero .fine { color: var(--forest-sub); font-size: .98rem; margin: 0; }
.hero .stage { position: relative; display: flex; justify-content: center; align-self: end; z-index: 2; }
.hero .stage .phone { width: 320px; margin-bottom: -170px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .stage .phone { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 104px; min-height: 0; gap: 8px; }
  .hero .copy { padding-bottom: 40px; }
  .hero .wash { background: linear-gradient(180deg, rgba(11,61,42,.98) 0%, rgba(11,61,42,.9) 55%, rgba(11,61,42,.35) 100%); }
  .hero .stage .phone { width: 250px; margin-bottom: -130px; }
}

/* sections */
section { padding: 112px 0; }
.sec-head { max-width: 38em; margin-bottom: 48px; }
.sec-head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.trades-sec { padding-top: 230px; }
@media (max-width: 900px) { .trades-sec { padding-top: 170px; } }

/* trades */
.trades-sec .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.trades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.trades li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 1.1rem; }
.trades li .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--forest); display: grid; place-items: center; flex: none; }
:root[data-theme="dark"] .trades li .ic { color: var(--door); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trades li .ic { color: var(--door); } }
.trades li.other { grid-column: 1 / -1; border-bottom: 0; padding-top: 24px; }
.trades li.other .ic, :root[data-theme="dark"] .trades li.other .ic { background: var(--door); color: var(--door-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trades li.other .ic { color: var(--door-ink); } }
.trades li.other .sub { display: block; font-weight: 400; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .trades-sec .wrap { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 520px) { .trades { grid-template-columns: 1fr; column-gap: 0; } }

/* features */
.features { padding-top: 0; }
.feature { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; padding: 64px 0; }
.feature .txt { max-width: 30em; }
.feature .txt p { color: var(--ink-2); font-size: 1.12rem; }
.feature .shot { position: relative; display: flex; justify-content: center; padding: 48px 0 0; }
.feature .shot::before { content: ""; position: absolute; inset: 0 0 72px; border-radius: 32px; background: var(--tint); }
.feature .shot .phone { width: 280px; }
.feature:nth-child(even) .shot { order: -1; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--door) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%2304210f' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feature:nth-child(even) .shot { order: 0; }
  .feature .shot .phone { width: 240px; }
  .feature .shot { padding-top: 32px; }
}

/* flow: knock, close, get paid */
.flow { background: var(--forest); color: #fff; }
.flow h2 { color: #fff; }
.flow .sec-head p { color: var(--forest-sub); }
.stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; counter-reset: stop; }
.stops::before { content: ""; position: absolute; left: 24px; right: calc(33.333% - 52px); top: 24px; border-top: 4px dotted var(--door); opacity: .9; }
.stops li { counter-increment: stop; position: relative; padding-top: 76px; }
.stops li::before { content: counter(stop); position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--door); color: var(--door-ink); font: 800 1.5rem/52px var(--f); font-stretch: var(--narrow); text-align: center; box-shadow: 0 0 0 6px var(--forest); }
.stops h3 { color: #fff; margin-bottom: .4em; }
.stops p { color: var(--forest-sub); margin: 0; font-size: 1.05rem; max-width: 24em; }
@media (max-width: 820px) {
  .stops { grid-template-columns: 1fr; gap: 36px; }
  .stops::before { left: 24px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 4px dotted var(--door); }
  .stops li { padding: 0 0 0 76px; min-height: 52px; }
}

/* promise row */
.promise { padding-top: 0; }
.promise .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.promise .row h3 { font-size: 1.25rem; }
.promise .row p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .promise .row { grid-template-columns: 1fr; gap: 28px; } }

/* pricing */
.pricing .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .2em; font-size: clamp(5rem, 10vw, 8.5rem); font-weight: 800; font-stretch: var(--narrow); line-height: .9; letter-spacing: -0.03em; margin: 12px 0 14px; }
.price small { font-size: .26em; font-stretch: 100%; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.pricing .trial { font-size: 1.4rem; font-weight: 700; font-stretch: var(--wide); letter-spacing: -0.02em; margin: 0; }
.pricing .lede { color: var(--ink-2); font-size: 1.12rem; }
.pricing .ticks { margin: 36px 0 32px; font-size: 1.08rem; }
.pricing .fine { color: var(--muted); font-size: .92rem; margin: 18px 0 0; max-width: 40em; }
@media (max-width: 820px) { .pricing .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* faq */
.faq-sec .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 48px 20px 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; }
.faq-sec .more { color: var(--ink-2); margin-top: 20px; }
@media (max-width: 820px) { .faq-sec .wrap { grid-template-columns: 1fr; gap: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } }

/* footer */
.foot { background: var(--forest-deep); color: var(--forest-sub); padding: 64px 0 40px; font-size: .98rem; }
.foot .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot .about p { max-width: 26em; }
.foot a { color: #fff; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot h4 { color: #fff; margin: 0 0 8px; font-size: 1rem; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .9rem; margin: 8px 0 0; }
.foot .legal a { display: inline; min-height: 0; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .about { grid-column: 1 / -1; } }

/* document pages */
.doc-hero { background: var(--forest); color: #fff; padding: 56px 0 56px; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc-hero p { color: var(--forest-sub); margin: 0; font-size: 1.15rem; max-width: 34em; }
.doc { max-width: calc(760px + 2 * var(--gutter)); margin: 0; padding-top: 56px; padding-bottom: 96px; }
@media (min-width: 1180px) { .doc { margin-left: calc((100% - var(--wrap)) / 2); } }
.doc h2 { font-size: 1.6rem; margin-top: 2em; }
.doc h3 { font-size: 1.2rem; margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
.doc table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .96rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; min-width: 140px; }
.doc th { font-weight: 700; }
.draft { background: #fff6d6; border: 1px solid #e8d48a; color: #4a3d00; border-radius: 14px; padding: 14px 18px; margin-bottom: 28px; font-weight: 600; }
.note { background: var(--tint); border-radius: 18px; padding: 20px 22px; margin: 1.2em 0; }
.note > h2:first-child { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--door); color: var(--door-ink); font: 800 1.2rem/40px var(--f); font-stretch: var(--narrow); text-align: center; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 1.5em 0; border-top: 1px solid var(--line); }
.cards .c { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cards .c h3 { margin-top: 0; font-size: 1.15rem; }
.cards .c p { color: var(--ink-2); }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.updated { color: var(--muted); font-size: .95rem; }
.doc .btn-door { margin: 4px 0 12px; }
