/* Boardom Storyboards website: the app's own palette and type. */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Darumadrop One"; src: url("fonts/darumadrop-one.ttf") format("truetype"); font-display: swap; }

:root {
  --desk: #d9d7d2;
  --panel: #f5f4f1;
  --panel2: #ebe9e5;
  --ink: #18181a;
  --muted: #66655f;
  --line: #c9c7c1;
  --accent: #d1302a;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245, 244, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: "Darumadrop One", "Inter", sans-serif; font-size: 26px; letter-spacing: .5px; line-height: 1; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.top nav a:hover { color: var(--accent); }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.secondary { border-color: var(--line); color: var(--ink); background: var(--panel); }
.btn.secondary:hover { border-color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .8; line-height: 1.1; }
.btn .two { line-height: 1.15; text-align: left; }
.top .btn { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 28px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto -20%; height: 135%;
  background: url("img/backdrop.svg") center top / 1400px auto no-repeat; z-index: 0;
  /* fade out before the hero ends, so the sketch has no hard bottom edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 75%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 75%);
}
.hero::after {
  /* a clear patch behind the logo and headline, as on the app's Home screen */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 620px 260px at 50% 150px, rgba(217,215,210,.94) 45%, rgba(217,215,210,0) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-title { display: flex; align-items: center; justify-content: center; gap: 18px; }
.hero .icon { width: 76px; margin: 0; filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)); }
.wordmark { font-family: "Darumadrop One", "Inter", sans-serif; font-weight: 400; font-size: clamp(50px, 7vw, 72px); line-height: 1; margin: 0; letter-spacing: 1px; }
.tagline { font-size: clamp(18px, 2.3vw, 23px); font-weight: 600; margin: 14px auto 22px; max-width: 720px; line-height: 1.3; }
.lead { color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.platforms { margin: 0; font-size: 14px; color: var(--muted); }

/* App Store button, sized like Apple's badge (swap in the official artwork before launch) */
.store-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 58px; padding: 0 24px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid #a6a6a6; box-shadow: 0 6px 16px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .15s ease; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.24); }
.store-badge .two { font-size: 25px; font-weight: 600; line-height: 1; letter-spacing: -.3px; text-align: left; }
.store-badge small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .2px; margin-bottom: 3px; }

/* the tour video, straight after the intro */
section.video-sec { padding: 4px 0 56px; }
.video-sec .video { margin-top: 0; }
.video-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }

/* section headings and lists */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.section-head.wide { max-width: 760px; }
.section-head p { color: #2c2c2f; margin: 0; }
.section-head p.kicker { color: var(--accent); margin-bottom: 10px; }
ul.ticks { padding-left: 0; list-style: none; margin: 18px 0 0; }
ul.ticks li { padding-left: 26px; position: relative; margin: 8px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
ul.ticks.cols { columns: 2; column-gap: 40px; max-width: 980px; margin: 36px auto 0; }
ul.ticks.cols li { break-inside: avoid; margin: 0 0 14px; }

/* feature carousel */
.carousel { max-width: 1000px; margin: 0 auto; }
.car-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.car-tabs button { font: 600 14.5px/1 "Inter", sans-serif; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.car-tabs button:hover { border-color: var(--ink); }
.car-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.car-stage { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding: 4px 8px 8px; }
.slide .frame { box-shadow: 0 12px 28px rgba(24,24,26,.14), 0 2px 6px rgba(24,24,26,.08); }
.slide figcaption { text-align: center; max-width: 640px; margin: 22px auto 0; }
.slide figcaption p { margin: 0; color: #2c2c2f; }
.car-arrow { position: absolute; top: calc(50% - 60px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.14); display: grid; place-items: center; padding-bottom: 4px; }
.car-arrow:hover { border-color: var(--ink); }
.car-arrow.prev { left: -18px; }
.car-arrow.next { right: -18px; }

/* settings and the page it makes, side by side */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pair figure { margin: 0; }
.pair figcaption { margin-top: 16px; color: #2c2c2f; font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.step { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; transform: translateY(-1px); }

.frame { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(24,24,26,.16), 0 2px 6px rgba(24,24,26,.08); }
.frame.mac::before { content: ""; display: block; height: 26px; background: radial-gradient(circle at 16px 13px, #ed6a5e 5px, transparent 5.5px), radial-gradient(circle at 34px 13px, #f5bf4f 5px, transparent 5.5px), radial-gradient(circle at 52px 13px, #61c554 5px, transparent 5.5px), var(--panel2); border-bottom: 1px solid var(--line); }
.frame.ipad { border: 10px solid #1d1d20; border-radius: 26px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.4px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.kicker { text-transform: uppercase; letter-spacing: 1.4px; font-size: 12.5px; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.pro { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: #fff; background: var(--accent); border-radius: 6px; padding: 2px 7px; margin-left: 8px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .copy { order: 2; }
.feature ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.feature li { padding-left: 26px; position: relative; margin: 8px 0; }
.feature li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feature p { margin: 0; color: #2c2c2f; }
.feature p.kicker { color: var(--accent); margin-bottom: 10px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: #fff; }
.card p { margin: 0; color: #2c2c2f; font-size: 15.5px; }

/* video */
.video { max-width: 960px; margin: 32px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1d1d20; border: 1px solid var(--line); position: relative; }
.video video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.featured { border: 2px solid var(--ink); }
.plan h3 { font-size: 22px; }
.plan .price { color: var(--muted); margin: 0 0 14px; }

/* text pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-family: "Inter Tight", "Inter", sans-serif; font-size: clamp(32px, 4vw, 42px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.5px; }
.page .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.page h2 { font-size: 24px; margin-top: 40px; }
.page .box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
details p { margin: 6px 0; }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--panel); padding: 34px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .grid3, .plans, .pair { grid-template-columns: 1fr; }
  ul.ticks.cols { columns: 1; }
  .car-arrow { display: none; }
  .hero .icon { width: 60px; }
  .top nav a.hide-sm { display: none; }
  section { padding: 56px 0; }
}

/* Photos of Boardom in use */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #1d1d20; box-shadow: 0 18px 40px rgba(24,24,26,.16), 0 2px 6px rgba(24,24,26,.08); }
.photo img { display: block; width: 100%; height: auto; }
.photo.wide { margin-top: 48px; }
#pricing .photo.wide { margin: 26px 0 0; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 760px) {
  .photo.wide { margin-top: 32px; }
  .photo-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-row .photo:last-child { display: none; }
}
