/* Tappelo: modern service brand. Cream, midnight navy, tomato coral. Tap-ripple motif. */
:root {
  --ink: #15223A;
  --paper: #FBF7F1;
  --accent: #C63D17;
  --accent-2: #FF8A5C;
  --mist: #F2EBE0;
  --muted: #4A556B;
  --line: rgba(21, 34, 58, .14);
  --radius: 14px;
  --font-heading: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
.tp-root { background: var(--paper); color: var(--ink); }
.tp-root img { display: block; max-width: 100%; }
.tp-root h1, .tp-root h2, .tp-root h3 { font-family: var(--font-heading); color: inherit; margin: 0; letter-spacing: -0.01em; }
.tp-root p { margin: 0; }
.tp-root a { color: inherit; }
.tp-root :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.tp-skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.tp-skip:focus { top: 12px; }

.tp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tp-wrap--wide { max-width: 1320px; }
@media (max-width: 600px) { .tp-wrap { padding: 0 16px; } }

.tp-kicker { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px !important; }
.tp-kicker--light { color: var(--accent-2); }
.tp-h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); line-height: 1.08; font-weight: 800; }
.tp-lead { font-size: 1.125rem; color: var(--muted); margin-top: 16px !important; max-width: 60ch; }
.tp-note { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.tp-note--light { color: #B7C0D1; }

/* Buttons */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #fff !important; font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: transform .18s ease, background-color .18s ease; box-sizing: border-box; text-align: center; }
.tp-btn:hover { background: #A93412; border-color: #A93412; }
.tp-btn:active { transform: scale(.98); }
.tp-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.tp-btn--ghost:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.tp-btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.tp-btn--block { width: 100%; }

/* Header */
.tp-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 241, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.tp-header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.tp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.375rem/1 var(--font-heading); color: var(--ink); }
.tp-brand--light { color: #fff; }
.tp-brand--light img { background: var(--paper); padding: 3px; border-radius: 12px; }
.tp-nav { display: flex; gap: 28px; margin-left: auto; }
.tp-nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 10px 0; }
.tp-nav a:hover { color: var(--accent); }
@media (max-width: 820px) { .tp-nav { display: none; } .tp-header__in > .tp-btn { margin-left: auto; } }

/* Hero */
.tp-hero { padding: 72px 0 48px; }
.tp-hero__title { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.tp-hl { color: var(--accent); }
.tp-hero__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin: 32px 0 40px; }
.tp-hero__lead { font-size: 1.1875rem; color: var(--muted); max-width: 58ch; }
.tp-actions { display: flex; gap: 12px; justify-content: flex-end; }
.tp-actions .tp-btn { flex: 0 0 auto; }
@media (max-width: 820px) {
  .tp-hero { padding: 48px 0 32px; }
  .tp-hero__row { grid-template-columns: minmax(0, 1fr); margin: 24px 0 32px; gap: 24px; }
  .tp-actions { justify-content: flex-start; }
  .tp-actions .tp-btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
}
@media (max-width: 480px) { .tp-hero__title { font-size: 2.35rem; line-height: 1.05; } }

.tp-stage { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--ink); min-height: 520px; display: grid; }
.tp-stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tp-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,34,58,.85) 0%, rgba(21,34,58,.35) 55%, rgba(21,34,58,.6) 100%); }
.tp-stage__demo { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; padding: 40px 24px 88px; }
.tp-demo { width: min(560px, 100%); height: auto; }
.tp-stage__cap { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.tp-stage__cap span:not(.tp-arrow) { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); padding: 8px 14px; border-radius: 999px; }
.tp-arrow { color: var(--accent-2); font-size: 1.25rem; }
@media (max-width: 600px) {
  .tp-stage { min-height: 0; border-radius: 20px; }
  .tp-stage__demo { padding: 24px 8px 92px; }
  .tp-stage__cap { left: 16px; right: 16px; bottom: 16px; font-size: .8125rem; flex-wrap: nowrap; gap: 8px; }
  .tp-stage__cap span:not(.tp-arrow) { padding: 7px 12px; white-space: nowrap; }
}

.tp-ring { transform-box: fill-box; transform-origin: center; opacity: .55; }
.tp-ring--2 { opacity: .35; }
.tp-ring--3 { opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .tp-ring { animation: tp-ripple 2.6s cubic-bezier(.2, .7, .3, 1) infinite; }
  .tp-ring--2 { animation-delay: .35s; }
  .tp-ring--3 { animation-delay: .7s; }
  @keyframes tp-ripple { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.12); opacity: .08; } }
}

/* How it works: horizontal rail */
.tp-how { padding: 96px 0; }
.tp-rail { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.tp-rail::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; border-top: 2px dashed rgba(198, 61, 23, .45); }
.tp-rail__step { position: relative; }
.tp-rail__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.375rem/1 var(--font-heading); margin-bottom: 24px; box-shadow: 0 0 0 8px var(--paper); position: relative; }
.tp-rail__step h3 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.tp-rail__step p { color: var(--muted); }
@media (max-width: 820px) {
  .tp-how { padding: 64px 0; }
  .tp-rail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tp-rail::before { display: none; }
  .tp-rail__step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: -24px; border-left: 2px dashed rgba(198, 61, 23, .45); }
  .tp-rail__step { padding-left: 80px; }
  .tp-rail__num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Uses: bento */
.tp-uses { padding: 96px 0; background: var(--mist); }
.tp-uses__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.tp-uses__intro { color: var(--muted); font-size: 1.125rem; }
.tp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tp-use { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); }
.tp-use img { width: 100%; height: 240px; object-fit: cover; }
.tp-use--reviews { grid-column: span 4; }
.tp-use--menu { grid-column: span 2; }
.tp-use--wifi { grid-column: span 2; }
.tp-use--promo { grid-column: span 4; }
.tp-use__body { padding: 24px 28px 28px; }
.tp-use__tag { display: inline-block; font-size: .875rem; font-weight: 700; color: var(--accent); margin-bottom: 8px !important; }
.tp-use h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.tp-use p:not(.tp-use__tag) { color: var(--muted); }
.tp-use--reviews { background: var(--ink); color: #fff; border-color: var(--ink); }
.tp-use--reviews .tp-use__tag { color: var(--accent-2); }
.tp-use--reviews p:not(.tp-use__tag) { color: #D3D9E4; }
@media (max-width: 900px) {
  .tp-uses { padding: 64px 0; }
  .tp-uses__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .tp-bento { grid-template-columns: minmax(0, 1fr); }
  .tp-use--reviews, .tp-use--menu, .tp-use--wifi, .tp-use--promo { grid-column: auto; }
  .tp-use img { height: 200px; }
  .tp-use__body { padding: 20px 20px 24px; }
}

/* Switchboard */
.tp-switch { padding: 112px 0; }
.tp-switch__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.tp-facts { margin: 32px 0 0; display: grid; gap: 0; }
.tp-facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.tp-facts div:last-child { border-bottom: 1px solid var(--line); }
.tp-facts dt { font-weight: 700; }
.tp-facts dd { margin: 4px 0 0; color: var(--muted); }
.tp-board { margin: 0; display: flex; flex-direction: column; align-items: center; }
.tp-board__phone { width: 100%; max-width: 360px; box-sizing: border-box; background: #fff; border: 10px solid var(--ink); border-radius: 40px; padding: 28px 18px 24px; box-shadow: 0 30px 60px -30px rgba(21,34,58,.45); }
.tp-board__top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 16px; }
.tp-board__title { font: 800 1.25rem/1.2 var(--font-heading); }
.tp-board__count { font-size: .875rem; color: var(--muted); }
.tp-board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-board__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.tp-board__list li.is-open { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,61,23,.14); }
.tp-board__name { font-weight: 600; }
.tp-pill { font-size: .8125rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tp-pill--menu { background: #E3ECFA; color: #1D3D75; }
.tp-pill--wifi { background: #E2F2EA; color: #1E5A3C; }
.tp-pill--promo { background: #FFE3D6; color: #8E2B0F; }
.tp-pill--reviews { background: var(--ink); color: #fff; }
.tp-board__choices { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tp-board__choices span { text-align: center; font-size: .75rem; font-weight: 600; padding: 7px 2px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.tp-board__choices .is-on { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 820px) {
  .tp-switch { padding: 64px 0; }
  .tp-switch__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* AI plan */
.tp-ai { padding: 112px 0; background: var(--ink); color: #fff; }
.tp-ai__head { max-width: 860px; }
.tp-ai__sub { color: #C9D0DC; font-size: 1.125rem; margin-top: 16px !important; }
.tp-ai__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; margin-top: 56px; align-items: start; }
.tp-ai__list { list-style: none; margin: 0; padding: 0; }
.tp-ai__list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.16); }
.tp-ai__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.tp-ai__idx { font: 800 2rem/1 var(--font-heading); color: var(--accent-2); }
.tp-ai__list h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 8px; }
.tp-ai__list p { color: #C9D0DC; }
.tp-chat { margin: 0; background: #1F2E4A; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 20px; }
.tp-chat__bar { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 4px 4px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tp-chat__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); }
.tp-chat__msgs { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 4px; }
.tp-msg { max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: .9375rem; line-height: 1.5; }
.tp-msg--guest { align-self: flex-end; background: var(--accent-2); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 500; }
.tp-msg--ai { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
@media (max-width: 900px) {
  .tp-ai { padding: 64px 0; }
  .tp-ai__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .tp-ai__list li { grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0; }
  .tp-ai__idx { font-size: 1.5rem; }
}

/* Fairness statement */
.tp-fair { padding: 112px 0; border-bottom: 1px solid var(--line); }
.tp-fair__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.tp-fair__big { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
.tp-fair__big::after { content: ""; display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--accent); margin-top: 24px; }
.tp-fair__text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 64px; color: var(--muted); font-size: 1.125rem; }
@media (max-width: 820px) {
  .tp-fair { padding: 64px 0; }
  .tp-fair__text { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ */
.tp-faq { padding: 112px 0; }
.tp-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.tp-faq__side { position: sticky; top: 100px; }
.tp-faq__more { color: var(--muted); margin-top: 16px !important; }
.tp-acc details { border-bottom: 1px solid var(--line); }
.tp-acc details:first-child { border-top: 1px solid var(--line); }
.tp-acc summary { font: 700 1.125rem/1.35 var(--font-body); padding: 20px 40px 20px 0; cursor: pointer; min-height: 44px; }
.tp-acc details > div { padding: 0 0 20px; color: var(--muted); }
@media (max-width: 820px) {
  .tp-faq { padding: 64px 0; }
  .tp-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tp-faq__side { position: static; }
}

/* Get started */
.tp-start { padding: 0 0 112px; }
.tp-start__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); padding: 0; width: calc(100% - 48px); max-width: 1132px; }
@media (max-width: 600px) { .tp-start__grid { width: calc(100% - 32px); } }
.tp-start__media { min-width: 0; }
.tp-start__media img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.tp-start__form { padding: 56px; min-width: 0; }
.tp-form { margin-top: 32px; display: grid; gap: 16px; }
.tp-form .kit-input { font-family: var(--font-body); min-height: 48px; border-radius: 10px; box-sizing: border-box; width: 100%; }
.tp-form textarea.kit-input { min-height: 110px; }
.tp-opt { font-weight: 400; color: var(--muted); }
.tp-form [data-sd-status] { font-weight: 600; }
@media (max-width: 900px) {
  .tp-start { padding: 0 0 64px; }
  .tp-start__grid { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .tp-start__media img { height: 240px; min-height: 0; }
  .tp-start__form { padding: 32px 20px; }
}

/* Footer */
.tp-footer { background: var(--ink); color: #D3D9E4; padding: 64px 0 48px; font-size: .9375rem; }
.tp-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.tp-footer__brand p { margin-top: 16px; }
.tp-footer__nav { display: grid; gap: 0; }
.tp-footer__nav a, .tp-footer__legal a { color: #fff; text-decoration: none; padding: 6px 0; display: inline-block; min-height: 24px; }
.tp-footer__nav a:hover, .tp-footer__legal a:hover { color: var(--accent-2); }
.tp-footer__legal { display: grid; gap: 12px; }
.tp-footer__legal p:last-child { display: flex; gap: 24px; }
@media (max-width: 820px) { .tp-footer__grid { grid-template-columns: minmax(0, 1fr); } }
