/* Wholesale Margin Lab — "Árlista": a price sheet torn from a pad. Pine band with a perforated edge,
   pale paper, monospaced figures with dotted leaders, one copper accent. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/spline-sans-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/spline-sans-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/spline-sans-mono-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/spline-sans-mono-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --pine: #0e4d3c;
  --pine-dark: #093327;
  --mint: #9fd4be;
  --paper: #f2f5f3;
  --sheet: #ffffff;
  --sunk: #e4ebe7;
  --ink: #12251f;
  --soft: #4c5f58;
  --line: #d3ddd8;
  --copper: #b8532a;
  --copper-dark: #9a421e;
  --copper-light: #ee9a6a;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--copper-dark); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; hyphens: auto; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sheet); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }
.kicker { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--soft); }
.small { font-size: 0.88rem; color: var(--soft); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link.light { color: var(--mint); }

/* Header band with a perforated lower edge */
.top { background: var(--pine); color: #fff; position: relative; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 16px; background: radial-gradient(circle at 9px 8px, var(--paper) 6px, transparent 6.5px) 0 0 / 18px 16px repeat-x; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem; }
.brand img { border-radius: 9px; }
.nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff; color: var(--pine); }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; display: flex; justify-content: center; gap: 0; }
.hero-shot { width: 46%; max-width: 270px; margin: 40px 0 0 -40px; }
.sheet { position: relative; z-index: 1; width: 64%; max-width: 360px; align-self: flex-start; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px 6px 0 0; padding: 40px 22px 26px; box-shadow: 0 10px 30px rgba(18, 37, 31, 0.1); }
.sheet::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -10px; height: 10px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--sheet) 6.5px) 0 0 / 14px 10px repeat-x; }
.sheet-hole { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.sheet-title { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); margin-bottom: 10px; }
.sheet-note { font-size: 0.82rem; color: var(--soft); margin: 14px 0 0; }

/* Ledger rows with dotted leaders */
.ledger { margin: 0; }
.ledger-row { display: flex; align-items: baseline; gap: 6px; padding: 4px 0; }
.ledger-row dt { color: var(--soft); font-size: 0.92rem; flex: 0 1 auto; min-width: 0; }
.ledger-row dd { margin: 0 0 0 auto; font-family: var(--mono); font-size: 0.92rem; white-space: nowrap; }
.ledger-row { background: radial-gradient(circle, var(--line) 1px, transparent 1.5px) 0 calc(100% - 9px) / 8px 4px repeat-x; }
.ledger-row dt, .ledger-row dd { background: var(--sheet); padding: 0 4px 0 0; }
.ledger-row dd { padding: 0 0 0 4px; }
.ledger-row.strong dt { color: var(--ink); font-weight: 800; }
.ledger-row.strong dd { font-weight: 700; font-size: 1rem; }

/* Phone screenshots */
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 18px; border: 6px solid var(--sheet); box-shadow: 0 0 0 1px var(--line), 0 14px 32px rgba(18, 37, 31, 0.12); background: var(--sheet); }
.shot figcaption { font-family: var(--mono); font-size: 0.8rem; color: var(--soft); margin-top: 10px; text-align: center; }

/* Google Play label */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: var(--radius); background: var(--copper); color: #fff; text-decoration: none; }
.play:hover { background: var(--copper-dark); color: #fff; }
.play-tag { width: 22px; height: 28px; background: #fff; clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%); position: relative; }
.play-tag::after { content: ""; position: absolute; left: 8px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.78rem; }
.play-big { font-size: 1.08rem; font-weight: 800; }
.play-soon { background: var(--soft); cursor: default; }
.play-soon .play-tag::after { background: var(--soft); }

/* Section titles with a rule */
.section-title { display: flex; align-items: center; gap: 16px; }
.section-title::after { content: ""; flex: 1; min-width: 24px; height: 2px; background: var(--line); }

/* Steps */
.steps { padding: 56px 0; background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 56px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 48px; align-items: center; }
.step.flip { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.step.flip .step-copy { order: 2; }
.step .shot { max-width: 300px; justify-self: center; }
.step-no { display: block; font-family: var(--mono); font-weight: 700; font-size: 2.4rem; color: var(--copper); line-height: 1; margin-bottom: 12px; }
.step-copy p { color: var(--soft); max-width: 560px; }

/* Margin vs markup */
.ratio { padding: 64px 0; }
.ratio-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.def { background: var(--sheet); border: 1px solid var(--line); border-left: 5px solid var(--pine); border-radius: 6px; padding: 16px 18px; }
.def + .def { border-left-color: var(--copper); }
.def-name { font-weight: 800; font-size: 1.15rem; margin-bottom: 2px; }
.def-formula { font-family: var(--mono); font-size: 0.9rem; color: var(--pine); margin-bottom: 8px; }
.def-example { font-size: 0.9rem; color: var(--soft); margin: 0; }
.table-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.95rem; }
caption { text-align: left; font-family: var(--sans); font-weight: 700; margin-bottom: 10px; }
th { text-align: right; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); border-bottom: 2px solid var(--ink); padding: 6px 4px; }
td { text-align: right; padding: 8px 4px; border-bottom: 1px solid var(--sunk); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
.table-card .small { margin: 12px 0 0; }

/* Extras */
.gallery { padding: 56px 0 64px; background: var(--sunk); }
.extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; margin-top: 28px; align-items: start; }
.extra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.extra-list li { padding: 14px 0; border-bottom: 1px dashed #b9c7c0; }
.extra-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.extra-list p { margin: 0; color: var(--soft); font-size: 0.95rem; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* Privacy band */
.privacy-band { background: var(--pine); color: #fff; padding: 48px 0; position: relative; }
.privacy-inner h2 { color: #fff; }
.privacy-inner ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.privacy-inner li { padding-left: 26px; position: relative; color: #dcede5; }
.privacy-inner li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--mint); }

/* FAQ */
.faq { padding: 56px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
details { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style-position: inside; }
details p { padding: 0 18px 14px; margin: 0; color: var(--soft); }
.more { margin-top: 16px; }

/* Final CTA */
.final { padding: 0 0 64px; }
.final-inner { background: var(--sheet); border: 1px solid var(--line); border-top: 6px solid var(--copper); border-radius: 6px; padding: 32px; text-align: center; }
.final-title { font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.final-inner p { color: var(--soft); }

/* Inner pages */
.page { padding: 56px 0 64px; }
.page h2 { margin-top: 1.6em; }
.help-steps { padding-left: 0; list-style: none; }
.help-steps li { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; margin-bottom: 10px; }
.help-steps p { margin: 0; color: var(--soft); }
.legal p { color: #26393a; }

/* Footer */
.foot { background: var(--pine-dark); color: #cfe6dc; padding: 32px 0; }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 8px; }
.foot-name { font-weight: 800; color: #fff; margin: 0; }
.foot-small { font-size: 0.85rem; margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: #fff; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero { padding: 44px 0; }
  .hero-grid, .ratio-grid, .extras, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step, .step.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step.flip .step-copy { order: 0; }
  .step .shot { max-width: 260px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-inner { padding-top: 12px; }
  .nav a { padding: 8px 9px; font-size: 0.9rem; }
  .hero-visual { flex-direction: column; align-items: center; }
  .sheet { width: 100%; max-width: none; }
  .hero-shot { width: 70%; margin: 36px 0 0; }
  .defs { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .shot img { border-width: 3px; border-radius: 12px; }
  .shot figcaption { font-size: 0.7rem; }
  .privacy-inner ul { grid-template-columns: minmax(0, 1fr); }
  .final-inner { padding: 24px 16px; }
  table { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
