/* Viewzy Kitchen — sales page. Cool honed stone, graphite, Verde Guatemala green, a touch of brass. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --stone: #f6f7f6;      /* honed white */
  --graphite: #22262b;   /* text, the sample wall */
  --grey: #5d636a;       /* secondary text (AA on --stone) */
  --verde: #1e5a4b;      /* Verde Guatemala: actions, ticks */
  --verde-tint: #e7efec;
  --brass: #b08a4e;
  --line: #d9dcdd;
  --white: #ffffff;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--graphite);
  font: 17px/1.6 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: -9999px; top: 8px; padding: 8px 12px; background: var(--graphite); color: var(--white); z-index: 10; }
.skip:focus { left: 8px; }

/* ---- Header ------------------------------------------------------------------------------- */
.site-head {
  max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.wordmark span:last-child { font-weight: 400; }
.wordmark-slab { width: 22px; height: 22px; border-radius: 3px; background: var(--verde); box-shadow: inset -6px -6px 0 rgba(255, 255, 255, .12); }
.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--graphite); text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  border-radius: 8px; background: var(--verde); color: var(--white); font-weight: 700; text-decoration: none;
  border: 2px solid var(--verde); transition: background .15s, color .15s;
}
.btn:hover { background: #164638; border-color: #164638; color: var(--white); }
.btn-quiet { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn-quiet:hover { background: var(--graphite); border-color: var(--graphite); }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: 15px; }

/* ---- Hero --------------------------------------------------------------------------------- */
main > section { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.hero { padding-top: clamp(32px, 6vw, 72px) !important; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 5.2rem); line-height: 1.0; letter-spacing: -0.035em; max-width: 15ch; }
.lede { margin-top: 24px; max-width: 58ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--grey); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Sample board: the stone wall of a showroom (the page's one loud element) -------------- */
.board { margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(28px, 4vw, 48px) var(--gutter) 22px; background: var(--graphite); color: #c9ccd0; }
.board-slabs {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap);
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px);
}
.board-slabs li { display: grid; gap: 8px; }
.board-slabs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .7); }
.board-slabs span { font-size: 13px; line-height: 1.3; color: #e8eaec; }
.board figcaption { max-width: var(--wrap); margin: 22px auto 0; font-size: 14px; color: #9aa0a6; }
@media (max-width: 900px) { .board-slabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Demo --------------------------------------------------------------------------------- */
.section-intro { max-width: 62ch; display: grid; gap: 12px; }
.section-intro p { color: var(--grey); }
.demo-frame { margin-top: 28px; padding: clamp(12px, 2vw, 24px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; }

/* ---- What you get ------------------------------------------------------------------------- */
.why-list { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.why-list div { padding: 20px 0; border-top: 1px solid var(--line); }
.why-list dt { font-weight: 700; font-size: 1.1rem; }
.why-list dd { margin: 6px 0 0; color: var(--grey); max-width: 46ch; }
@media (max-width: 700px) { .why-list { grid-template-columns: 1fr; } }

/* ---- AI ----------------------------------------------------------------------------------- */
.ai { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ai-text { display: grid; gap: 16px; }
.ai-text > p { color: var(--grey); }
.ticks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--verde); border-bottom: 2.5px solid var(--verde); transform: rotate(-45deg); }
.ai-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-pair figure { margin: 0; }
.ai-pair img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ai-pair figcaption { margin-top: 6px; font-size: 14px; color: var(--grey); }
@media (max-width: 860px) { .ai { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ai-pair { grid-template-columns: 1fr; } }

/* ---- Steps (a real sequence, so numbered) ------------------------------------------------- */
.step-list { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step-list li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.step-list li::before { content: counter(step); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--verde); letter-spacing: -0.04em; }
.step-list p { color: var(--grey); }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; gap: 24px; } }

/* ---- Plans -------------------------------------------------------------------------------- */
.plan-scroll { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.plan-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.plan-table th, .plan-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plan-table tbody tr:last-child th, .plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table tbody th { text-align: left; font-weight: 400; color: var(--graphite); }
.plan-table thead th { padding-top: 22px; padding-bottom: 18px; }
.plan-name { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.plan-price { display: block; margin-top: 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-per { display: block; font-size: 13px; color: var(--grey); }
.plan-table .is-featured { background: var(--verde-tint); }
.plan-table thead .is-featured { box-shadow: inset 0 4px 0 var(--verde); }
.plan-table td { }
.yes, .no { display: inline-block; width: 14px; height: 8px; }
.yes { border-left: 2.5px solid var(--verde); border-bottom: 2.5px solid var(--verde); transform: rotate(-45deg) translate(1px, -2px); }
.no { height: 2px; background: #b7bcbf; }
.plans-note { margin-top: 14px; font-size: 15px; color: var(--grey); max-width: 70ch; }
@media (max-width: 700px) {
  .plan-table tbody th { position: sticky; left: 0; background: var(--white); }
}

/* ---- FAQ ---------------------------------------------------------------------------------- */
.faq h2 { margin-bottom: 16px; }
.faq details { max-width: 820px; border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--grey); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---- Closing + footer --------------------------------------------------------------------- */
.closing { padding-bottom: clamp(56px, 8vw, 104px) !important; }
.closing h2 { max-width: 18ch; }
.closing > p:not(.actions) { margin-top: 14px; color: var(--grey); max-width: 56ch; }
.mail { font-weight: 600; }
.site-foot { border-top: 1px solid var(--line); }
.site-foot { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--grey); }
.site-foot p:last-child { display: flex; gap: 18px; flex-wrap: wrap; }
