/* NoteHop site: "organic minimalism". Parchment paper, olive-spruce ink,
   ochre-gold accents; Archivo Narrow for display, Plus Jakarta Sans for text. */
:root {
  --paper: #faf9f3;
  --paper-2: #f5f4ee;
  --stone: #efeee8;
  --stone-2: #e9e8e2;
  --stone-3: #e3e3dd;
  --white: #ffffff;
  --ink: #1b1c19;
  --spruce: #2d3826;
  --spruce-deep: #182212;
  --night: #1b2317;
  --text-mid: #454841;
  --text-low: #757870;
  --sage: #5e6d52;
  --sage-soft: #becbb2;
  --ochre: #b59445;
  --ochre-deep: #765a0e;
  --gold: #e7c26e;
  --gold-soft: #ffd882;
  --line: rgba(45, 56, 38, 0.12);
  --line-strong: rgba(45, 56, 38, 0.25);
  --shadow: 0 6px 24px rgba(45, 56, 38, 0.06);
  --radius: 16px;
  --maxw: 1240px;
  --display: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre-deep); }
h1, h2, h3 { font-family: var(--display); color: var(--spruce-deep); line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 400; letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-mid); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.75rem/1.3 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.eyebrow.plain::before { display: none; }
.grad { color: var(--ochre); }
.label { font: 600 0.72rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-low); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(250, 249, 243, 0.85); box-shadow: 0 1px 8px rgba(45, 56, 38, 0.06); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font: 600 1.25rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--spruce-deep); }
.brand-name small { font: 600 0.62rem var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-low); }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--spruce); position: relative; flex: none; background: var(--paper); }
.brand-mark::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(45, 56, 38, 0.35); }
.brand-mark::after { content: ""; position: absolute; left: 50%; top: 8px; width: 8px; height: 17px; margin-left: -4px; border-radius: 6px; background: linear-gradient(var(--gold), var(--ochre)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font: 600 0.8rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); background: var(--stone-2); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 0.85rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--spruce); color: var(--paper); box-shadow: 0 8px 22px -10px rgba(181, 148, 69, 0.7); }
.btn-primary:hover { background: var(--spruce-deep); box-shadow: 0 10px 26px -8px rgba(181, 148, 69, 0.8); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--spruce-deep); background: transparent; }
.btn-gold { background: var(--gold-soft); color: #5a4300; }
.btn-small { padding: 10px 18px; font-size: 0.75rem; }
.line-link { display: inline-flex; align-items: center; gap: 14px; font: 600 0.95rem var(--display); color: var(--ochre-deep); text-decoration: none; letter-spacing: 0.02em; }
.line-link::before { content: ""; width: 56px; height: 1px; background: var(--ochre); transition: width 0.2s ease; }
.line-link:hover::before { width: 76px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(900px 480px at 85% 10%, rgba(190, 203, 178, 0.35), transparent 65%), radial-gradient(700px 400px at 0% 100%, rgba(255, 216, 130, 0.22), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-title { display: flex; align-items: flex-end; gap: 28px; margin: 22px 0 18px; }
.hero-numeral { flex: none; font: 700 clamp(6rem, 12vw, 10rem)/0.82 var(--display); letter-spacing: -0.04em; color: var(--spruce); user-select: none; }
.hero-numeral small { display: block; font: 600 0.7rem var(--display); letter-spacing: 0.2em; color: var(--text-low); text-transform: uppercase; margin-top: 12px; }
.hero h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0 0 22px; }
@media (max-width: 560px) { .hero-title { flex-direction: column; align-items: flex-start; gap: 16px; } }
.hero p.lead { font-size: 1.15rem; max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 28px 0 18px; }
.hero-note { font-size: 0.88rem; color: var(--text-low); }
.shot { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(45, 56, 38, 0.45), var(--shadow); background: var(--white); }
.hero .shot { transform: rotate(-1.2deg); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero .shot { transform: none; } }

/* Falling notes (pill "droplets") behind the hero */
.rain { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rain span { position: absolute; top: -160px; width: 14px; border-radius: 10px; opacity: 0.2; animation: fall linear infinite; }
@media (max-width: 760px) { .hero .rain, .signin .rain { display: none; } }
@keyframes fall { to { transform: translateY(1200px); } }
@media (prefers-reduced-motion: reduce) { .rain { display: none; } }
.hero .wrap { position: relative; z-index: 1; }

/* Seals: circular stamp badges */
.seals { display: flex; flex-wrap: wrap; gap: 22px; }
.seal { width: 132px; height: 132px; flex: none; }
.seal text { font: 600 8.6px var(--display); letter-spacing: 0.2em; fill: var(--text-mid); text-transform: uppercase; }
.seal .big { font: 400 30px var(--display); letter-spacing: 0; fill: var(--spruce-deep); }
.seal .unit { font: 600 9px var(--display); letter-spacing: 0.12em; fill: var(--ochre-deep); }
.seal circle.outer { fill: none; stroke: var(--line-strong); }
.seal circle.inner { fill: var(--white); stroke: var(--line); }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; border: 1px solid var(--line); }
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; font-size: 0.95rem; }
.i-violet, .i-amber { background: rgba(255, 216, 130, 0.35); }
.i-aqua, .i-rose { background: rgba(190, 203, 178, 0.4); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 30px; position: relative; margin: 12px 0; color: var(--text-mid); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 9px; height: 15px; border-radius: 6px; background: linear-gradient(var(--gold), var(--ochre)); }
.ticks strong { color: var(--spruce-deep); }

/* Accuracy meters, like gold leaf over linen */
.meter { margin: 14px 0; }
.meter .row { display: flex; justify-content: space-between; font: 600 0.72rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; }
.meter .track { height: 6px; border-radius: 6px; background: var(--stone-3); overflow: hidden; }
.meter .fill { height: 100%; border-radius: 6px; background: var(--ochre); }
.meter .fill.sage { background: var(--spruce); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step::before { content: "0" counter(s); display: block; font: 400 3rem/1 var(--display); color: var(--ochre); margin-bottom: 16px; }

.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.guide { display: flex; gap: 18px; align-items: flex-start; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color 0.15s ease, transform 0.15s ease; }
.guide:hover { border-color: var(--ochre); transform: translateY(-2px); }
.guide .num { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--stone); font: 600 1rem var(--display); color: var(--spruce-deep); }
.guide h3 { margin-bottom: 4px; }
.guide p { margin: 0; font-size: 0.93rem; }
.guide .more { display: inline-block; margin-top: 10px; font: 600 0.72rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); }

details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font: 600 1.1rem var(--display); color: var(--spruce-deep); }
details p { margin: 10px 0 0; }

.cta-band { text-align: center; padding: 96px 20px; background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.cta-band p { color: var(--sage-soft); }
.cta-band .btn-primary { background: var(--gold-soft); color: #3d2e00; }
.cta-band .wrap { position: relative; z-index: 1; }

footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--text-low); font-size: 0.85rem; background: var(--paper-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer a { color: var(--text-mid); text-decoration: none; margin-left: 22px; font: 600 0.72rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
footer a:hover { color: var(--ink); }

/* Guides page */
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding: 56px 24px 96px; max-width: var(--maxw); margin: 0 auto; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--text-mid); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.toc a:hover { color: var(--ink); border-left-color: var(--ochre); }
.doc article { max-width: 760px; }
.doc article h2 { margin-top: 64px; padding-top: 8px; }
.doc article h2:first-child { margin-top: 0; }
.doc article ol, .doc article ul { color: var(--text-mid); padding-left: 22px; }
.doc article li { margin: 8px 0; }
.doc article li::marker { color: var(--ochre-deep); font-weight: 700; }
.doc article li strong, .doc article p strong { color: var(--spruce-deep); }
.tip { border-left: 3px solid var(--ochre); background: rgba(255, 216, 130, 0.22); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--text-mid); margin: 20px 0; }
.tip strong { color: var(--ochre-deep); }
kbd { background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; font-size: 0.9em; color: var(--ink); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

/* Account in the nav */
#account { display: flex; align-items: center; }
.nav-signin { font: 600 0.8rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--spruce-deep); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav-signin:hover { background: var(--stone-2); }
.nav-user { display: flex; align-items: center; gap: 8px; color: var(--spruce-deep); font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.nav-user img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); }
@media (max-width: 860px) { #account { margin-left: auto; } .nav .btn { margin-left: 0; } }

/* Sign-in page */
.signin { position: relative; overflow: hidden; min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 56px 20px; background: radial-gradient(800px 420px at 15% 0%, rgba(190, 203, 178, 0.4), transparent 60%), radial-gradient(700px 380px at 90% 100%, rgba(255, 216, 130, 0.3), transparent 60%); }
.signin-card { position: relative; z-index: 1; width: 100%; max-width: 460px; text-align: center; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 24px; padding: 40px 32px 30px; box-shadow: 0 30px 60px -30px rgba(45, 56, 38, 0.35); }
.signin-card h1 { font-size: 2.4rem; margin-top: 10px; }
.signin-card .eyebrow { display: flex; justify-content: center; margin-top: 18px; }
.brand-mark.big { display: inline-block; width: 64px; height: 64px; }
.brand-mark.big::before { inset: 6px; }
.brand-mark.big::after { top: 14px; width: 12px; height: 28px; margin-left: -6px; border-radius: 8px; }
.gsi-slot { display: flex; justify-content: center; min-height: 44px; margin: 24px 0 8px; }
.signin-status { min-height: 1.6em; font-size: 0.92rem; color: var(--sage); margin: 0 0 14px; }
.signin-status.error { color: #93000a; }
.ticks.small { text-align: left; margin: 6px 0 20px; }
.ticks.small li { font-size: 0.9rem; margin: 8px 0; }
.skip { color: var(--text-low); font-size: 0.9rem; text-decoration: none; }
.skip:hover { color: var(--ink); }
