:root {
  color-scheme: light dark;
  --page: #fafaf7;
  --ink: #212a2d;
  --muted: #5e6567;
  --line: #dedfda;
  --accent: #ffc15b;
  --accent-text: #0045ff;
  --accent-ink: #212a2d;
  --panel: #eeeeea;
  --keyboard-back: #c6d9f6;
  --product-yellow: #f3e7bd;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 18px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  scroll-padding-top: 30px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #192326; --ink: #f5f5ef; --muted: #bdc7c7; --line: #425053; --panel: #293538; --accent-text: #ffc15b; }
}
:root[data-theme="dark"] { --page: #192326; --ink: #f5f5ef; --muted: #bdc7c7; --line: #425053; --panel: #293538; --accent-text: #ffc15b; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; }
button:not(:disabled), summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.5; }
img { display: block; max-width: 100%; }
.wrap { width: min(1360px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 10px; left: 10px; transform: translateY(-200%); background: var(--accent); color: var(--accent-ink); padding: 14px; }
.skip:focus { transform: none; }
.header { min-height: 80px; display: flex; align-items: center; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.06em; margin-right: auto; }
.wordmark span { text-transform: lowercase; }
.wordmark img { flex-shrink: 0; }
nav { display: flex; gap: 30px; align-items: center; font-size: 1rem; font-weight: 500; }
nav a { padding-block: 12px; }
.nav-contact { background: var(--ink); color: var(--page); padding: 12px 20px; border-radius: 100px; }

.theme-button { border: 1px solid var(--line); border-radius: 100px; background: transparent; padding: 12px 16px; min-height: 44px; font-size: .875rem; }
.hero { padding-block: 60px 74px; }
h1 { font-size: clamp(3.2rem, 8.8vw, 8rem); letter-spacing: -.065em; font-weight: 550; line-height: .99; }
.headline-line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.headline-line > span { display: block; }
.headline-accent { color: var(--accent-text); }
.hero-bottom { display: flex; gap: 30px; justify-content: space-between; align-items: end; margin-top: 36px; }
.hero-bottom p { max-width: 540px; font-size: clamp(1.125rem, 1.6vw, 1.4rem); }
.button { display: inline-flex; gap: 28px; align-items: center; background: var(--accent); color: var(--accent-ink); padding: 20px 25px; border-radius: 100px; white-space: nowrap; font-weight: 500; }

.section-label { font-size: 1rem; font-weight: 500; letter-spacing: -.02em; }
.products > .section-label { margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 36px; align-items: start; }
.product-pasteful { padding-top: 72px; }
.product-art { position: relative; overflow: hidden; border-radius: var(--radius); }
.keyboard-art { background: var(--keyboard-back); min-height: 435px; display: flex; justify-content: center; align-items: center; padding: 38px 28px; }
.ipad-landscape { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; border: 7px solid #242a2d; box-shadow: 0 18px 45px #19271425; }
.ipad-landscape img { width: 100%; height: auto; }
.pasteful-art { display: block; background: var(--product-yellow); aspect-ratio: 4 / 3; }
.pasteful-art img { width: 100%; height: auto; }
.product .capture-caption { font-size: .875rem; margin-top: -6px; }
.product-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-top: 24px; }
.product-heading h3 { font-size: 1.65rem; letter-spacing: -.055em; font-weight: 550; }
.product-heading > span { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.product > p { margin-block: 12px 20px; color: var(--muted); font-size: 1.0625rem; }
.text-link, .product-details summary { display: flex; gap: 20px; align-items: center; min-height: 44px; font-size: 1rem; width: fit-content; }
.text-link { border-bottom: 1px solid var(--ink); font-weight: 500; }
.product-details summary { list-style: none; border-bottom: 1px solid var(--line); }
summary::-webkit-details-marker { display: none; }
.product-details > div { padding-top: 20px; max-width: 560px; }
.product-details p { font-size: 1rem; color: var(--muted); margin-bottom: 14px; }
.product-details .small { font-size: .875rem; }
.product-details[open] summary > span { transform: rotate(45deg); }
.services { display: grid; grid-template-columns: 1fr 1.18fr; gap: 80px; padding-block: 140px 115px; }
.service-intro h2 { font-size: clamp(2.7rem, 4.8vw, 4.5rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.06; margin-block: 26px; }
.service-intro > p:last-child { max-width: 370px; color: var(--muted); font-size: 1.125rem; }
.service-list { padding-top: 20px; }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; padding-block: 26px; }
.service-list h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -.04em; font-weight: 500; }
.disclosure { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--panel); font-size: 1.5rem; }
.service-list details[open] .disclosure { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.service-copy { padding: 0 38px 30px 0; max-width: 560px; font-size: 1.0625rem; color: var(--muted); }
.service-copy p + p { margin-top: 18px; }
.service-caption { display: block; margin-top: 24px; font-size: .875rem; color: var(--ink); }
.approach { padding-block: 65px 110px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.approach h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.12; }
.approach-copy { max-width: 510px; font-size: 1.125rem; color: var(--muted); }
.approach-copy p + p { margin-top: 22px; }
.contact { border-radius: 24px; background: var(--accent); color: var(--accent-ink); padding: 65px; margin-bottom: 45px; }
.contact h2 { margin-block: 0 24px; font-size: clamp(3.5rem, 8.2vw, 7.5rem); line-height: .99; letter-spacing: -.065em; font-weight: 500; }
.contact h2 span { color: var(--muted); }
.contact > p:not(.section-label) { color: var(--accent-ink); font-size: 1.25rem; margin-bottom: 28px; }
.contact-email { font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 500; letter-spacing: -.045em; border-bottom: 1px solid; overflow-wrap: anywhere; }
.contact-placeholder { display: block; font-size: 1rem; color: var(--accent-ink); }
.contact-placeholder strong { display: block; font-size: 1.75rem; font-weight: 500; color: var(--accent-ink); margin-bottom: 10px; }
.footer { display: flex; align-items: start; justify-content: space-between; gap: 35px; padding-bottom: 38px; color: var(--muted); font-size: .875rem; }
.footer > a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand strong { color: var(--ink); font-size: 1.6rem; font-weight: 650; letter-spacing: -.055em; text-transform: lowercase; }
.privacy { max-width: 400px; }
.privacy summary { width: fit-content; min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.privacy p { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  nav a:hover, .text-link:hover, .product-details summary:hover { opacity: .65; }
  .button:hover { transform: translateY(-3px); }
  .keyboard-art:hover .ipad-landscape { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .ipad-landscape, .disclosure { transition: transform 180ms var(--ease-out); }
  .headline-line > span { animation: headline-in 600ms var(--ease-out) both; }
  .headline-line:nth-child(2) > span { animation-delay: 80ms; }
  .button:active { transform: scale(.97); }
}
@media (max-width: 1024px) {
  .wrap { width: calc(100% - 56px); }
  .header { gap: 18px; }
  nav { gap: 20px; }
  .hero { padding-block: 45px 70px; }
  .hero-bottom { align-items: start; }
  .hero-bottom p { max-width: 410px; }
  .product-grid { gap: 24px; }
  .keyboard-art { min-height: 355px; padding: 28px 20px; }
  .services { gap: 45px; padding-top: 100px; }
  .approach { gap: 45px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; gap: 8px 16px; padding-block: 16px; }
  .wordmark { font-size: 1.5rem; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
  .theme-button { margin-left: auto; }
  h1 { font-size: clamp(2.8rem, 9.5vw, 4.8rem); }
  .hero { padding-block: 35px 55px; }
  .hero-bottom { display: block; margin-top: 26px; }
  .hero-bottom p { max-width: 450px; }
  .button { margin-top: 28px; padding: 17px 22px; gap: 20px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .product-pasteful { padding-top: 0; }
  .keyboard-art { min-height: 320px; padding: 32px 20px; }
  .product-heading > span { font-size: .875rem; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 80px 65px; }
  .service-intro h2 { margin-block: 18px; font-size: 3rem; }
  .service-intro h2 br { display: none; }
  .service-intro > p:last-child { max-width: none; }
  .service-copy { padding-right: 0; }
  .approach { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 45px 65px; }
  .contact { padding: 35px 24px; margin-bottom: 30px; }
  .contact h2 { font-size: clamp(3.3rem, 12vw, 5.5rem); }
  .footer { flex-wrap: wrap; gap: 20px; }
  .footer-brand { width: 100%; }
  .privacy { max-width: 65%; }
}
@media (max-width: 380px) {
  .keyboard-art { min-height: 270px; padding-inline: 14px; }
  .product-heading { align-items: start; flex-direction: column; gap: 5px; }
  .button { white-space: normal; }
}

@keyframes headline-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
