:root {
  /* contrast (2026-10-03): --orange decorates only; buttons are --orange-fill under white text (4.5:1),
     orange text is --orange-dark (5:1), big orange headings --orange-big (3.3:1, enough for large text) */
  --orange: #ff8c00;
  --orange-dark: #b45309;
  --orange-fill: #c45500;
  --orange-fill-hover: #a84300;
  --orange-big: #e06c00;
  --ink: #222;
  --muted: #666;
  --line: #ececec;
  --bg: #fafafa;
  --card: #fff;
  --error: #b3261e;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--orange-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header / footer */
header.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav.links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
nav.links a { color: var(--ink); text-decoration: none; }
nav.links a:hover { color: var(--orange-dark); }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-left: 16px; }

/* buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: bold; font-size: 15px; text-decoration: none;
  border: 2px solid var(--orange-fill); background: var(--orange-fill); color: #fff; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--orange-fill-hover); border-color: var(--orange-fill-hover); }
.btn.ghost { background: #fff; color: var(--orange-dark); }
.btn.ghost:hover { background: #fff4e6; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn:disabled { background: #ccc; border-color: #ccc; color: #fff; cursor: default; }

/* hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; }
.hero h1 span { color: var(--orange-big); }
.hero p { font-size: 19px; color: var(--muted); max-width: 660px; margin: 0 auto 28px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { font-size: 14px; margin-top: 14px; }

/* the demo video (a poster until clicked) */
.video { max-width: 900px; margin: 0 auto 24px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px -14px rgba(120, 60, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); background: #fff4e6; }
.video video { width: 100%; height: 100%; display: block; background: #000; }
.video-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: #d96500; box-shadow: 0 10px 28px rgba(230, 120, 0, .55); transition: transform .15s; }
.video-play .play::after { content: ""; position: absolute; left: 33px; top: 25px; border-style: solid; border-width: 17px 0 17px 28px;
  border-color: transparent transparent transparent #fff; }
.video-play:hover .play, .video-play:focus-visible .play { transform: scale(1.08); }
.video-play:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: -3px; }
.video-play .len { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 13px;
  font-weight: bold; padding: 3px 8px; border-radius: 6px; }

/* the screenshots */
.carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px;
  box-shadow: 0 14px 40px -14px rgba(120, 60, 0, .3), 0 0 0 1px rgba(0, 0, 0, .06); background: #fff; }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 3px; }
.slides figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.slides img { width: 100%; height: auto; display: block; }
.carousel .nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 30px; line-height: 40px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.carousel .nav:hover { color: var(--orange-dark); }
.carousel .prev { left: -22px; }
.carousel .next { right: -22px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #ddd; cursor: pointer; }
.dots button.on { background: var(--orange); }

section { padding: 40px 0; }
section h2 { font-size: 30px; text-align: center; margin: 0 0 8px; }
section .lead { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 640px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--card); border-radius: 14px; padding: 22px; box-shadow: 0 1px 4px rgba(0, 0, 0, .07); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff4e6; color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 12px; }
.steps .card .n { font-size: 28px; font-weight: bold; color: var(--orange-big); }

/* plans */
.plan { display: flex; flex-direction: column; border: 2px solid transparent; }
.plan.current { border-color: var(--orange); }
.plan .name { font-weight: bold; color: var(--orange-dark); }
.plan .quota { font-size: 34px; font-weight: bold; margin-top: 8px; }
.plan .unit { color: var(--muted); font-size: 14px; }
.plan .price { font-size: 24px; margin: 16px 0 2px; }
.plan .price small { font-size: 14px; color: var(--muted); }
.plan .per { color: #888; font-size: 13px; margin-bottom: 18px; }
.plan .btn { margin-top: auto; text-align: center; }
.free { text-align: center; margin: 22px 0 0; color: var(--muted); }

/* account / forms */
.panel { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 1px 4px rgba(0, 0, 0, .07); max-width: 460px; margin: 0 auto; }
.panel h2 { text-align: left; font-size: 22px; margin: 0 0 14px; }
label { display: block; font-size: 14px; margin: 12px 0 4px; }
input[type=email], input[type=password] { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
input:focus { outline: none; border-color: var(--orange); }
.form .btn { width: 100%; margin-top: 18px; }
.switch { text-align: center; margin-top: 14px; font-size: 14px; }
.switch a { cursor: pointer; }
.msg { margin-top: 12px; font-size: 14px; white-space: pre-wrap; }
/* Google's sign-in button (their branding: white, a grey edge, the G) */
.google-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px;
  margin-top: 6px; border: 1px solid #747775; border-radius: 8px; background: #fff; color: #1f1f1f; font: bold 15px inherit;
  font-family: inherit; cursor: pointer; }
.google-btn:hover { background: #f8f9fa; }
.or { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; color: #777; font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #ddd; }
.msg.error { color: var(--error); }
.usage { height: 10px; background: #eee; border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.usage div { height: 100%; background: var(--orange); width: 0; }
.kv { color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hidden { display: none !important; }

/* faq + legal */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.faq summary { font-weight: bold; cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.legal { max-width: 780px; margin: 0 auto; padding-top: 40px; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 20px; text-align: left; margin-top: 28px; }
.legal p, .legal li { color: #333; }

@media (max-width: 1080px) {
  .carousel .prev { left: 8px; }
  .carousel .next { right: 8px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .video-play .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .video-play .play::after { left: 25px; top: 19px; border-width: 13px 0 13px 21px; }
  .carousel .nav { display: none; }
  header.top .wrap { height: auto; min-height: 60px; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .brand { font-size: 14px; line-height: 1.25; }
  nav.links { gap: 12px; font-size: 14px; }
  nav.links .btn.small { padding: 7px 10px; font-size: 13px; }
  nav.links .hide-sm { display: none; }
}

/* message packs (account page, 2026-10-04) */
.pack { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; max-width: 560px; }
