/* DoingNote website. Plain CSS, no build step. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }

:root {
  --bg: #f7f4ec; --card: #fffdf7; --ink: #2b2410; --soft: rgba(43,36,16,.66); --line: rgba(43,36,16,.13);
  --yellow: #ffe66d; --yellow-deep: #f2c94c; --green: #6fcf97; --blue: #a9d4ff; --mint: #b8f0c8; --pink: #ffc9d6;
  --todo: #8fa3b8; --doing: #f2c94c; --done: #4fb97d; --dark: #1d1f24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 "Inter", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--soft); }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; border-radius: 6px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247,244,236,.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.logo .mark { width: 32px; height: 32px; flex: none; }
.logo .o { width: .63em; height: .63em; margin: 0 .035em -.02em .025em; }
.nav { margin-left: auto; display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--soft); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: #fffdf7; cursor: pointer; transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(43,36,16,.22); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { background: transparent; color: var(--soft); border: 1.5px dashed var(--line); cursor: default; pointer-events: none; }

/* Hero: words on top, the devices below */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -8% -10%; height: 62%; background: radial-gradient(50% 60% at 50% 60%, rgba(255,230,109,.55), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { max-width: 13em; margin: 22px auto 0; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; padding: 0 .08em; }
.hero .lead { margin: 22px auto 0; }
.hero .cta { justify-content: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--soft); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--soft); }
.pip { width: 9px; height: 9px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 4px rgba(79,185,125,.18); }
.stage { position: relative; max-width: 1240px; margin: 36px auto 0; padding: 0 16px; }
.stage img { display: block; width: 100%; height: auto; }

/* Platforms strip */
.platforms { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.platforms .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-size: 14.5px; font-weight: 700; color: var(--soft); }
.platforms span::before { content: "●"; color: var(--yellow-deep); margin-right: 9px; font-size: 10px; vertical-align: 2px; }

/* Feature rows: words beside a real screen */
.rows { overflow-x: clip; }
.rows .wrap { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.row.flip .txt { order: 2; }
.row .txt h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 40px); }
.row .txt > p:not(.eyebrow) { margin-top: 16px; color: var(--soft); font-size: 18px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; font-weight: 600; }
.ticks li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--yellow); font-size: 12px; font-weight: 800; }
.shot { margin: 0; position: relative; }
.shot::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 28px; background: var(--yellow); opacity: .55; transform: rotate(2deg); }
.row.flip .shot::before { background: var(--mint); transform: rotate(-2deg); inset: 8% 6% -6% -4%; }
.row:nth-child(3) .shot::before { background: var(--blue); }
.shot img { position: relative; display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(43,36,16,.5); }

/* Sync: the front-on device set */
.sync { background: linear-gradient(180deg, transparent, rgba(255,230,109,.28) 70%, transparent); }
.sync img { display: block; width: 100%; height: auto; margin-top: 40px; }

/* Three steps */
section { padding: 84px 0; }
.center { text-align: center; }
.center .lead { margin: 16px auto 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; border-top: 5px solid var(--todo); }
.step.b { border-top-color: var(--doing); }
.step.c { border-top-color: var(--done); }
.step .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.step .eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--todo); }
.step.b .eyebrow::before { background: var(--doing); }
.step.c .eyebrow::before { background: var(--done); }
.step p { color: var(--soft); margin-top: 8px; font-size: 16px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.feat { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.feat.wide { grid-column: span 3; }
.feat p { color: var(--soft); margin-top: 8px; font-size: 16px; }
.feat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); margin-bottom: 16px; font-size: 21px; transform: rotate(-4deg); }
.feat:nth-child(2n) .ico { background: var(--mint); transform: rotate(3deg); }
.feat:nth-child(3n) .ico { background: var(--blue); }
.feat.dark { background: var(--dark); color: #f4f1e8; border-color: var(--dark); }
.feat.dark p { color: #b9bbc3; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tools span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 600; }
.tools span.on { background: var(--yellow); color: var(--ink); }

/* Privacy strip */
.calm { background: var(--yellow); border-radius: 28px; padding: 52px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.calm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-weight: 600; }
.calm li { display: flex; gap: 12px; align-items: flex-start; }
.calm li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-size: 13px; margin-top: 2px; }
.calm p { margin-top: 14px; color: rgba(43,36,16,.78); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 44px auto 0; max-width: 820px; text-align: left; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan.pro { border: 2px solid var(--ink); position: relative; }
.plan .tag { position: absolute; top: -13px; right: 22px; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--soft); letter-spacing: 0; }
.plan ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; font-weight: 800; color: var(--done); }
.plan .sub { color: var(--soft); font-size: 15px; }

/* Questions */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 24px; line-height: 1; color: var(--soft); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--soft); margin-top: 10px; }

.last { text-align: center; padding-bottom: 100px; }
.last .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14.5px; color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Text pages: privacy, terms, support */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); }
.doc .date { color: var(--soft); margin-top: 12px; font-size: 15px; }
.doc h2 { font-size: 24px; margin-top: 44px; letter-spacing: -.015em; line-height: 1.2; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc p, .doc ul, .doc table { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .short { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--yellow-deep); border-radius: 14px; padding: 20px 22px; margin-top: 28px; }
.doc .short p:first-child { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.gap { background: #ffd9d2; border-radius: 4px; padding: 0 4px; font-weight: 600; }

@media (max-width: 900px) {
  .calm, .row { grid-template-columns: 1fr; }
  .row { gap: 28px; }
  .row.flip .txt { order: 0; }
  .rows .wrap { gap: 64px; }
  .hero { padding-top: 48px; }
  .steps { grid-template-columns: 1fr; }
  .feat, .feat.wide { grid-column: span 6; }
  .plans { grid-template-columns: 1fr; }
  .calm { padding: 34px 26px; }
  .nav a:not(.btn) { display: none; }
  section { padding: 60px 0; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .doc td:first-child { font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .stage { padding: 0; margin-top: 24px; }
  .platforms .wrap { gap: 8px 18px; font-size: 13px; }
  .shot img { border-radius: 10px; }
  .cta .btn { flex: 1 1 100%; }
}
