/* Taulia · warm and editorial, built to sell a tool for restaurant floors.
   Cream paper, near-black ink, one terracotta accent; Satoshi for everything, Cormorant italic for the emphasis. */
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 300 400; font-display: swap; }

:root {
  --paper: #f6f1e8; --paper-2: #ede5d6; --ink: #1f1d1a; --ink-2: #57514a; --rule: #d9cfbf;
  --accent: #b9472a; --accent-2: #e8b48a; --dark: #1f1d1a; --on-dark: #f2ece2; --sage: #2f5d4e;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 48px); --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1.0625rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em { font: italic 400 1.08em/1 var(--serif); letter-spacing: -0.01em; color: var(--accent); }
p { margin: 0; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: clamp(1.08rem, .4vw + 1rem, 1.25rem); color: var(--ink-2); max-width: 54ch; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 700 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: transform 160ms var(--ease), background-color 200ms ease, box-shadow 200ms ease; }
.btn__arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 200ms var(--ease); }
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn[disabled] { opacity: .75; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #a63f25; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(185, 71, 42, .8); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
  .btn:active { transform: scale(.97); box-shadow: none; }
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.link { font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size 260ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 0 1.5px; background-position: 100% 100%; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gut); background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; text-decoration: none; }
/* the mark: a round table seen from above, four chairs */
.logo__mark { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); box-shadow: 0 -8px 0 -5px var(--accent), 0 8px 0 -5px var(--accent), -8px 0 0 -5px var(--accent), 8px 0 0 -5px var(--accent); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--paper); }
.nav__links { display: flex; gap: 28px; font-size: .95rem; }
.nav__links a { text-decoration: none; color: var(--ink-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: color 200ms ease, background-size 260ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); background-size: 100% 1.5px; } }
/* the bar earns its border only once the page moves under it */
.nav { transition: border-color 200ms ease, box-shadow 200ms ease; border-bottom-color: transparent; }
.nav.is-scrolled { border-bottom-color: color-mix(in oklab, var(--rule) 70%, transparent); box-shadow: 0 6px 24px -18px rgba(31, 29, 26, .5); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5vw + .5rem, 4.6rem); }
.hero .lead { margin-top: 26px; }
.hero__facts { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-2); }
.hero__facts li::before { content: "●"; color: var(--accent); font-size: .6em; margin-right: 8px; vertical-align: .2em; }
.hero__shot { position: relative; margin: 0; padding-bottom: 8%; }
.hero__shot .device--phone { position: absolute; right: -2%; bottom: 0; width: 28%; }

/* devices: screenshots inside a dark bezel */
.device { margin: 0; background: #151412; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(31, 29, 26, .55), 0 0 0 1px rgba(0, 0, 0, .05); }
.device img { border-radius: 8px; width: 100%; }
.device--phone { border-radius: 26px; padding: 8px; }
.device--phone img { border-radius: 19px; }
.device--solo { max-width: 340px; justify-self: center; width: 100%; }

/* strip */
.strip { background: var(--dark); color: var(--on-dark); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip p { padding: 28px var(--gut); border-left: 1px solid rgba(242, 236, 226, .14); font-size: .98rem; color: #cfc6b8; }
.strip p:first-child { border-left: 0; }
.strip b { color: var(--on-dark); display: block; font-size: 1.05rem; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip p:nth-child(3) { border-left: 0; } .strip p:nth-child(n+3) { border-top: 1px solid rgba(242, 236, 226, .14); } }

/* sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: var(--sec) var(--gut) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head h2 { font-size: clamp(2.1rem, 3.4vw + .5rem, 3.6rem); }
.section__head .lead { margin-top: 22px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(72px, 9vw, 130px); }
.feature--flip .feature__text { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); margin-bottom: 18px; }
.feature p { color: var(--ink-2); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: #fffaf2; border: 1px solid var(--rule); border-radius: 18px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card img { border-radius: 10px; margin-top: 8px; border: 1px solid var(--rule); }
.roles { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.roles li { padding: 10px 14px; background: var(--paper-2); border-radius: 10px; }
.roles b { color: var(--ink); }

/* how it works */
.section--dark { max-width: none; background: var(--dark); color: var(--on-dark); margin-top: var(--sec); padding-bottom: var(--sec); }
.section--dark > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section--dark h2 em { color: var(--accent-2); }
.section--dark .eyebrow { color: var(--accent-2); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { border-top: 1px solid rgba(242, 236, 226, .2); padding-top: 28px; }
.steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent-2); color: var(--accent-2); font: italic 400 1.5rem/1 var(--serif); margin-bottom: 22px; }
.steps h3 { font-size: 1.4rem; margin-bottom: 12px; }
.steps p { color: #cfc6b8; }

/* price */
.price__card { background: var(--sage); color: var(--on-dark); border-radius: 28px; padding: clamp(36px, 6vw, 80px); display: grid; justify-items: start; }
.price__card h2 { font-size: clamp(2.3rem, 4vw + .5rem, 4rem); }
.price__card h2 em { color: var(--accent-2); }
.price__card .eyebrow { color: var(--accent-2); }
.price__card .lead { color: #d8e1da; margin-top: 22px; }
.price__card .ticks { margin-top: 30px; }
.price__card .ticks li::before { background-color: var(--accent-2); }
.price__card .btn { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .price__card .btn:hover { background: #fff; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--rule); border-radius: 14px; background: #fffaf2; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 400 1.6rem/1 var(--sans); color: var(--accent); transition: rotate .2s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* demo form */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: var(--sec); }
.demo h2 { font-size: clamp(2.1rem, 3.4vw + .5rem, 3.6rem); }
.demo .lead { margin-top: 22px; }
.form { background: #fffaf2; border: 1px solid var(--rule); border-radius: 22px; padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 700; }
.form small { font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea { font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #cbbfad; border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .wide { grid-column: 1 / -1; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 22px; min-height: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.form .is-bad input, .form .is-bad textarea { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.form .is-bad { color: var(--accent); }
.form__msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: #f6dfd6; color: #7a2a15; font-weight: 700; }
.form__msg.is-ok { background: #dfeee6; color: #1e4a37; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.foot { background: var(--dark); color: var(--on-dark); padding: 56px var(--gut) calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 10px; text-align: center; }
.foot .logo__mark::after { background: var(--dark); }
.foot p { color: #cfc6b8; }
.foot__small { font-size: .85rem; }

/* entrance: the hero devices settle in once */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__text > * { animation: rise .7s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .06s; } .hero__text > :nth-child(3) { animation-delay: .12s; } .hero__text > :nth-child(4) { animation-delay: .18s; }
.hero__shot .device--wide { animation: rise .9s .1s var(--ease) both; }
.hero__shot .device--phone { animation: rise .9s .3s var(--ease) both; }

/* responsive */
@media (max-width: 1000px) {
  .hero, .feature, .demo { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__text { order: 0; }
  .grid3, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero__shot { padding-bottom: 14%; }
}
@media (max-width: 560px) {
  .form, .ticks--two { grid-template-columns: minmax(0, 1fr); }
  .nav .btn--sm { padding: 0 14px; }
  .hero__shot .device--phone { width: 34%; right: 0; }
}

/* ---------- polish ---------- */
/* screenshots zoom a touch inside their frame under the pointer, like a photo in a frame */
.device--hover, .card__shot { overflow: hidden; }
.device--hover img, .card__shot img { transition: transform 600ms var(--ease); }
.card__shot { border-radius: 10px; border: 1px solid var(--rule); margin-top: 8px; }
.card__shot img { border: 0; margin: 0; border-radius: 0; }
@media (hover: hover) and (pointer: fine) {
  .device--hover:hover img, .card:hover .card__shot img { transform: scale(1.025); }
  .card { transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 200ms ease; }
  .card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(31, 29, 26, .45); border-color: #cdbfa9; }
  .faq summary { transition: color 160ms ease; }
  .faq summary:hover { color: var(--accent); }
}
/* tap feedback on the FAQ rows */
.faq summary:active { opacity: .7; }
/* FAQ answers open with height, where the browser can animate to auto */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease), content-visibility 260ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
/* inputs: the focus ring arrives instead of snapping */
.form input, .form select, .form textarea { transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #b9ab96; }
.form input:focus, .form select:focus, .form textarea:focus { background: #fff; }
/* the reply appears from just below, never from nothing */
.form__msg { transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
@starting-style { .form__msg { opacity: 0; transform: translateY(6px); } }
/* sending: the label softens while the request runs */
.btn__label { transition: filter 200ms ease, opacity 200ms ease; }
.btn[disabled] .btn__label { filter: blur(1.5px); opacity: .7; }
/* numbers in the hero facts and steps line up */
.steps span, .hero__facts { font-variant-numeric: tabular-nums; }
/* the hero settles quicker: short distance, short stagger */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.hero__text > * { animation-duration: .6s; }
.hero__text > :nth-child(2) { animation-delay: .05s; } .hero__text > :nth-child(3) { animation-delay: .1s; } .hero__text > :nth-child(4) { animation-delay: .15s; } .hero__text > :nth-child(5) { animation-delay: .2s; }
.hero__shot .device--wide { animation: rise .8s .12s var(--ease) both; }
.hero__shot .device--phone { animation: rise .8s .26s var(--ease) both; }
/* text selection in the brand colour */
::selection { background: #f0c9b6; color: var(--ink); }
