/* Plot Decks website. Brand: ink, paper, activity grey, impact orange. */
:root {
  --orange: #F95700;
  --deep: #B93C00;
  --ink: #1A1820;
  --grey: #8A8792;
  --grey-text: #6F6C76;
  --paper: #F6F5F3;
  --soft: #FFE6D6;
  --line: #E4E1E8;
  --line-dark: #3A3442;
  --mute-dark: #C9C6CF;
  --max: 1120px;
  --gutter: clamp(16px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.lab { font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.lab.orange { color: var(--orange); }
.lab.deep { color: var(--deep); }
.lab.grey { color: var(--grey-text); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(42px, 7vw, 84px); letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--grey-text); max-width: 640px; }
.accent { color: var(--orange); }

/* Wordmark */
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; white-space: nowrap; font-size: 28px; line-height: 1; }
.wordmark b { font-weight: 700; letter-spacing: -.045em; }
.wordmark i { display: inline-block; width: .2em; height: .2em; background: var(--orange); margin-left: .05em; }
.wordmark span { font-family: 'Hanken Grotesk', sans-serif; font-weight: 100; letter-spacing: -.02em; margin-left: .22em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(26,24,32,.96); color: #fff; backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--mute-dark); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; padding: 8px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; text-decoration: none; font: inherit; font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff6a1a; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark .lede { color: var(--mute-dark); }
.paper { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }

/* Hero */
.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: 0; background: linear-gradient(var(--ink) 0, var(--ink) calc(100% - clamp(70px, 10vw, 140px)), #fff calc(100% - clamp(70px, 10vw, 140px))); }
.hero h1 { margin-top: 20px; max-width: 1000px; }
.hero .lede { margin-top: 24px; }
.hero-shots { position: relative; display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(16px, 3vw, 40px); align-items: end; margin-top: clamp(48px, 7vw, 88px); }
.shot { position: relative; }
.shot .lab { display: block; margin-bottom: 12px; }
.shot img { border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.shot.after img { outline: 3px solid var(--orange); outline-offset: 6px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .big { font-size: clamp(48px, 6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat p { color: var(--grey-text); margin-top: 12px; font-size: 16px; }

/* Numbered rows */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.row .num { font-weight: 500; letter-spacing: .12em; font-size: 14px; color: var(--deep); padding-top: 4px; }
.row h3 { font-size: 21px; }
.row p { color: var(--grey-text); margin-top: 4px; }
.dark .rows, .dark .row { border-color: var(--line-dark); }
.dark .row .num { color: var(--orange); }
.dark .row p { color: var(--mute-dark); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }

/* Title test */
.title-test { background: var(--paper); padding: clamp(24px, 4vw, 40px); border-radius: 6px; }
.title-test h3 { margin: 10px 0 20px; }
.paper .title-test { background: #fff; border: 1px solid var(--line); }
.tt-list { list-style: none; }
.tt-list li { display: flex; gap: 12px; padding: 8px 0; }
.tt-list li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 9px; background: #CFCCD4; }
.tt-list.after li { font-weight: 700; }
.tt-list.after li::before { background: var(--orange); }
.tt-list.before li { color: var(--grey-text); }
.tt-label { margin-top: 18px; display: block; }

/* Work */
.case { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; align-items: end; margin-bottom: 36px; }
.case-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
.case-head p { color: var(--grey-text); max-width: 420px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.compare figure { margin: 0; }
.compare figcaption { margin-bottom: 10px; }
.compare img { border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(26,24,32,.10); }
.compare .after img { outline: 2px solid var(--orange); outline-offset: 4px; border-color: transparent; }
.compare + .compare { margin-top: clamp(24px, 4vw, 40px); }
.case .title-test { margin-top: clamp(32px, 5vw, 56px); }
.tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.note { font-size: 14px; color: var(--grey-text); }

/* Pricing */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 24px 60px rgba(26,24,32,.08); }
.price-card.featured { border: 2px solid var(--orange); }
.price { font-size: clamp(64px, 9vw, 104px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--orange); margin-top: 14px; }
.price-sub { color: var(--grey-text); margin-top: 10px; }
.places { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 15px; }
.places i { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.ticks { list-style: none; margin-top: 28px; border-bottom: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 9px; background: var(--orange); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step .n { font-size: 44px; font-weight: 700; color: var(--grey); line-height: 1; letter-spacing: -.03em; }
.step h3 { margin-top: 14px; font-size: 21px; }
.step p { color: var(--grey-text); margin-top: 6px; }
.dark .step .n { color: var(--orange); }
.dark .step p { color: var(--mute-dark); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 400; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--grey-text); margin-top: 10px; max-width: 720px; }

/* Form */
.form { display: grid; gap: 28px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 17px; }
.field .hint { display: block; font-size: 15px; color: var(--grey-text); margin-top: 2px; font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=date], .field input[type=url], .field select, .field textarea {
  width: 100%; margin-top: 10px; font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid #CFCCD4; border-radius: 4px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--soft); border-color: var(--orange); }
.q { border: 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.q .qnum { color: var(--deep); }
.q legend { float: left; width: 100%; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.q legend .lab { font-size: 13px; letter-spacing: .12em; display: inline-block; margin-bottom: 6px; }
.q legend + * { clear: both; }
.q .hint { padding-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.drop { margin-top: 10px; border: 2px dashed #CFCCD4; border-radius: 6px; padding: 28px; text-align: center; background: var(--paper); transition: border-color .15s, background .15s; }
.drop.is-over { border-color: var(--orange); background: var(--soft); }
.drop input[type=file] { margin-top: 12px; font: inherit; font-size: 15px; max-width: 100%; }
.drop .file-name { margin-top: 10px; font-weight: 700; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--grey-text); }
.check input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; flex: 0 0 18px; }
.form-layout { grid-template-columns: 1.5fr 1fr; }
.form-aside { position: sticky; top: 100px; }
.hidden { display: none; }
.notice { border-left: 4px solid var(--orange); background: var(--soft); padding: 16px 20px; border-radius: 0 4px 4px 0; font-size: 16px; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
.quote blockquote { font-size: 21px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; color: var(--orange); font-size: 64px; line-height: .6; font-weight: 700; margin-bottom: 10px; }
.quote .who { margin-top: 20px; color: var(--grey-text); font-size: 15px; }
.quote .who b { color: var(--ink); }
.empty { border: 2px dashed #CFCCD4; border-radius: 8px; padding: clamp(32px, 5vw, 56px); text-align: center; background: #fff; }
.empty h3 { margin-top: 12px; }
.empty p { color: var(--grey-text); max-width: 520px; margin: 10px auto 0; }

/* About */
.about { grid-template-columns: .85fr 1.15fr; align-items: center; }
[id] { scroll-margin-top: 72px; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px rgba(26,24,32,.18); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait .ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; color: #fff; }
.portrait .ph svg { width: 120px; }
.portrait .ph .who { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.portrait .ph .who span { display: block; font-size: 15px; font-weight: 400; color: var(--mute-dark); letter-spacing: 0; margin-top: 6px; }
.portrait.has-photo .ph { display: none; }
.about p.body { font-size: 19px; color: #3A3742; margin-top: 18px; max-width: 600px; }
.about .rows { margin-top: 32px; }
.sectors { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }

/* CTA band */
.cta { text-align: left; }
.cta h2 { max-width: 760px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--mute-dark); padding: 56px 0 40px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot .wordmark { color: #fff; }
.site-foot p { margin-top: 14px; max-width: 340px; }
.site-foot h4 { color: #fff; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 24px; margin-top: 16px; font-size: 13px; }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose p, .prose li { color: #3A3742; margin-top: 10px; }
.prose ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; width: 100%; }
  .nav .btn { margin-top: 10px; width: auto; padding: 12px 22px; }
  .nav-toggle { display: block; }
  .two-col, .about, .form-layout, .grid-2, .tt-grid, .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .portrait { max-width: 340px; aspect-ratio: 1; }
  .portrait .ph { padding: 24px; }
  .portrait .ph svg { width: 90px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero-shots { grid-template-columns: 1fr; }
  .hero-shots .shot.before { width: 72%; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 24px 0; }
  .compare { grid-template-columns: 1fr; }
  .row { grid-template-columns: 44px 1fr; }
  .btn-row .btn { width: 100%; }
}

/* Product cards (home) */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.product:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 20px 40px rgba(26,24,32,.08); }
.product h3 { margin-top: 12px; font-size: 23px; }
.product p { color: var(--grey-text); margin-top: 8px; font-size: 16px; flex: 1; }
.product .from { margin-top: 18px; font-size: 15px; color: var(--grey-text); }
.product .from b { font-size: 30px; color: var(--orange); letter-spacing: -.03em; margin-left: 4px; }

/* Price list (pricing page) */
.launch-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--soft); border-radius: 6px; padding: 18px 22px; margin-bottom: 40px; font-weight: 500; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card h3 { margin-top: 10px; }
.price-card .price { font-size: clamp(48px, 6vw, 64px); margin-top: 16px; }
.price-card .ticks { margin-top: 20px; }
.price-card .ticks li { font-size: 16px; padding: 9px 0; }
.price-card .btn-row { margin-top: 24px; }
.price-card { display: flex; flex-direction: column; }
.price-card .ticks { flex: 1; }
.more-table { width: 100%; border-collapse: collapse; }
.more-table th, .more-table td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.more-table th { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-text); border-top: 0; }
.more-table td:last-child, .more-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.more-table td span { display: block; color: var(--grey-text); font-size: 15px; }

@media (max-width: 980px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .products, .price-grid { grid-template-columns: 1fr; }
}

/* Hero additions: promise, sample switcher, founder strip */
.promise { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; color: var(--mute-dark); }
.promise i { width: 8px; height: 8px; background: var(--orange); flex: 0 0 8px; }
.dark .promise { color: var(--mute-dark); }
.switcher { display: inline-flex; gap: 4px; margin-top: clamp(40px, 6vw, 64px); padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; }
.switcher button { font: inherit; font-size: 15px; font-weight: 500; color: var(--mute-dark); background: none; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.switcher button[aria-selected="true"] { background: var(--orange); color: var(--ink); font-weight: 700; }
.switcher + .hero-shots { margin-top: 28px; }
.shot img { transition: opacity .2s; }
.sample-note { position: relative; z-index: 1; margin-top: 26px; font-size: 13px; color: var(--grey-text); }
.founder-strip { padding: 28px 0 0; }
.founder-strip .wrap { display: flex; align-items: center; gap: 20px; }
.founder-strip img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: 0 0 72px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange); }
.founder-strip p { font-size: 17px; color: #3A3742; max-width: 760px; }
.founder-strip a { color: var(--deep); font-weight: 500; }
.stat .big small { font-size: .32em; font-weight: 500; letter-spacing: 0; }

/* Hero definition line */
.definition { font-size: 17px; color: var(--mute-dark); letter-spacing: .01em; }
.definition b { color: var(--orange); font-weight: 700; font-size: 19px; }
.definition .ipa { color: var(--grey); margin: 0 4px; }
.definition i { font-family: 'Hanken Grotesk', sans-serif; font-weight: 100; font-size: 18px; color: #fff; }
.definition .dash { color: var(--grey); margin: 0 4px; }
.hero .definition + h1 { margin-top: 22px; }
.nb { white-space: nowrap; }
