:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --white: #fffefa;
  --ink: #22201d;
  --muted: #57534e;
  --line: #e2ded7;
  --accent: #f87836;
  --accent-dark: #96350f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { flex: none; width: 20px; height: 20px; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 10px 16px; color: var(--ink); background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 23px; font-weight: 760; letter-spacing: -.065em; text-decoration: none; }
.brand img { width: 33px; }
.header-inner nav { display: flex; align-items: center; gap: 29px; font-size: 14px; font-weight: 620; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover, .header-inner nav [aria-current] { color: var(--accent-dark); }
.nav-contact { display: inline-flex; align-items: center; gap: 5px; }
.nav-contact svg { width: 15px; height: 15px; }

.eyebrow { color: var(--accent-dark); font-size: 12px; line-height: 1.5; font-weight: 710; letter-spacing: .075em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 740; letter-spacing: -.057em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(48px, 7vw, 98px); }
h2 { font-size: clamp(34px, 4.45vw, 65px); }
h1 span, h2 span { color: var(--accent); }
.intro { color: var(--muted); max-width: 48ch; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; }

.portfolio-intro { padding-block: clamp(52px, 7vw, 92px) 38px; text-align: center; }
.portfolio-intro .intro { margin: 15px auto 0; }

.product-band { background: var(--product-bg); color: var(--product-ink); }
.showcase .product-band + .product-band { border-top: 5px solid var(--paper); }
.product-dropify {
  --product-bg: #e9dfff;
  --product-ink: #27143f;
  --product-muted: #4e376c;
  --product-button: #341b55;
  --product-button-text: #fff;
  --screen-edge: #32214b;
}
.product-payminder {
  --product-bg: #1f1f22;
  --product-ink: #fff9f8;
  --product-muted: #d0c6c6;
  --product-button: #fff9f8;
  --product-button-text: #211f21;
}
.product-guidesheets {
  --product-bg: #e4f2e8;
  --product-ink: #123923;
  --product-muted: #30573e;
  --product-button: #205638;
  --product-button-text: #fff;
}
.product-scanego {
  --product-bg: #eaf0ff;
  --product-ink: #0b233e;
  --product-muted: #3e5471;
  --product-button: #245bff;
  --product-button-text: #fff;
  --screen-edge: #182e4a;
}
.product-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 74px); min-height: 500px; padding-block: 43px; }
.product-meta { color: var(--product-muted); margin-bottom: 13px; }
.product-copy h2 { font-size: clamp(49px, 6.35vw, 90px); line-height: .99; text-wrap: initial; }
.product-promise { margin-top: 16px; font-size: clamp(21px, 2.45vw, 33px); font-weight: 640; line-height: 1.22; letter-spacing: -.035em; }
.product-description { max-width: 39ch; margin-top: 11px; color: var(--product-muted); font-size: 17px; }
.product-visual { display: grid; justify-items: center; }
.visual-screen img, .visual-device img { width: min(100%, 212px); }
.visual-screen img { border: 5px solid var(--screen-edge); border-radius: 25px; box-shadow: 0 14px 32px -17px #15132666; }
.visual-device img { width: min(100%, 232px); }
.visual-illustration img { width: min(100%, 425px); mix-blend-mode: multiply; }

.actions { display: flex; align-items: center; gap: 10px 19px; flex-wrap: wrap; margin-top: 24px; }
.store-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
.store-badge { display: inline-flex; align-items: center; min-height: 64px; border-radius: 7px; }
.store-badge img { height: 48px; width: auto; }
.store-badge img[src$=".png"] { height: 64px; }
.store-badges + .actions { margin-top: 12px; }
.button { width: fit-content; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; padding: 10px 13px; background: var(--product-button, var(--accent)); color: var(--product-button-text, var(--ink)); font-size: 14px; font-weight: 690; line-height: 1.35; text-decoration: none; transition: opacity .16s; }
.button svg, .text-link svg { width: 17px; height: 17px; }
.button:hover { opacity: .86; }
.button:focus-visible { outline-color: var(--product-ink, var(--ink)); }
.button-outline { background: transparent; color: inherit; border-color: currentColor; }
.text-link, .back { display: inline-flex; align-items: center; gap: 4px; width: fit-content; color: var(--product-ink, var(--accent-dark)); font-weight: 650; font-size: 14px; text-underline-offset: 4px; }
.text-link:hover, .back:hover { text-decoration-thickness: 2px; }
.text-link { min-height: 40px; }

.group-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 50px; padding-block: 82px; }
.group-section h2 { margin-top: 12px; max-width: 13ch; }
.group-copy p { max-width: 49ch; color: var(--muted); font-size: 17px; }
.group-copy p:first-child { color: var(--ink); font-size: 20px; line-height: 1.45; font-weight: 620; margin-bottom: 13px; }
.contact-band { margin-bottom: 74px; display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 38px 43px; border: 1px solid #f1d3c2; border-radius: 9px; background: #ffede2; }
.contact-band h2 { margin-block: 10px 8px; font-size: clamp(32px, 4vw, 53px); }
.contact-band .button { flex: none; }

.site-footer { border-top: 1px solid var(--line); background: #f3f1eb; }
.footer-main { display: grid; grid-template-columns: 1.3fr .85fr 1fr; gap: 27px; padding-block: 42px 33px; }
.footer-main p { color: var(--muted); margin-top: 7px; }
.footer-main nav { display: grid; justify-items: start; align-content: start; gap: 9px; font-size: 14px; }
.footer-main nav span { margin-bottom: 4px; color: var(--muted); font-weight: 680; }
.site-footer a:not(.brand) { text-decoration: none; }
.site-footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-end { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-block: 17px; color: var(--muted); font-size: 13px; }

.inner-page { padding-block: 50px 72px; }
.page-intro { margin-bottom: 36px; }
.page-intro h1, .legal h1 { margin-block: 13px 18px; font-size: clamp(42px, 5.35vw, 77px); }
.back { margin-bottom: 24px; }
.back svg { transform: rotate(180deg); }
.product-detail { margin-bottom: 44px; border-radius: 9px; padding-inline: clamp(24px, 5vw, 72px); }
.product-detail .page-intro { margin: 0; }
.product-detail .page-intro h1 { font-size: clamp(37px, 4.6vw, 65px); text-wrap: initial; }
.product-detail .eyebrow, .product-detail .intro { color: var(--product-muted); }
.reading { width: min(760px, calc(100% - 112px)); margin-inline: auto; }
.project-page .reading { width: min(720px, 100%); }
.reading h2 { font-size: clamp(24px, 3.5vw, 33px); letter-spacing: -.045em; margin-block: 27px 9px; }
.reading h3 { font-size: 21px; letter-spacing: -.025em; margin-block: 22px 8px; }
.reading p, .reading li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.reading p + p { margin-top: 12px; }
.reading p a, .reading li a { color: var(--accent-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
.reading .notice { border-left: 3px solid var(--accent); color: var(--ink); padding: 12px 15px; background: #ffede2; }
.legal h1 { text-wrap: initial; }
.document-list { border: 1px solid var(--line); border-radius: 9px; margin-top: 32px; padding: 16px 20px; }
.document-list h2 { margin-top: 0; font-size: 24px; }
.document-list ul { padding: 0; margin: 0; list-style: none; }
.document-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; }
.page-intro > .intro + .button { margin-top: 22px; }

@media (max-width: 950px) {
  .shell, .reading { width: calc(100% - 64px); }
}
@media (max-width: 720px) {
  .shell, .reading { width: calc(100% - 40px); }
  .header-inner { min-height: 60px; gap: 15px; }
  .header-inner nav { gap: 13px; font-size: 13px; }
  .brand { font-size: 21px; }
  .brand img { width: 30px; }
  .nav-contact svg { display: none; }
  .portfolio-intro { padding-block: 49px 26px; }
  .product-layout, .group-section { grid-template-columns: 1fr; }
  .product-layout { min-height: 0; padding-block: 37px 34px; gap: 29px; }
  .product-copy h2 { font-size: clamp(47px, 10vw, 67px); }
  .product-promise { margin-top: 11px; }
  .product-description { margin-top: 7px; font-size: 16px; }
  .actions { margin-top: 17px; }
  .visual-screen img { width: min(100%, 182px); border-width: 4px; border-radius: 20px; }
  .visual-device img { width: min(100%, 202px); }
  .visual-illustration img { width: min(100%, 330px); }
  .group-section { gap: 18px; padding-block: 45px; }
  .group-section h2 { max-width: none; }
  .contact-band { flex-direction: column; align-items: start; margin-bottom: 44px; padding: 23px; gap: 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding-block: 32px 27px; }
  .footer-main > div { grid-column: 1 / -1; }
  .inner-page { padding-block: 30px 47px; }
  .product-detail { margin-bottom: 29px; }
}
@media (max-width: 365px) {
  .header-inner { gap: 10px; }
  .header-inner nav { gap: 10px; font-size: 12px; }
  .header-inner nav a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
