/* Architect — home page.
   Always the light look (2026-10-03): drafting paper with blue linework. */

:root {
  --paper: #f6f8fb;
  --grid-minor: rgba(31, 79, 191, .055);
  --grid-major: rgba(31, 79, 191, .10);
  --ink: #0f1b2d;
  --ink-2: #3b4a60;
  --ink-3: #6b7a90;
  --line: #2a5bd7;
  --line-soft: rgba(42, 91, 215, .35);
  --accent: #1f4fbf;
  --accent-ink: #ffffff;
  --word: #1f4fbf;
  --field: #ffffff;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* The sheet: a drawing border with registration ticks at the corners. */
.sheet {
  position: relative;
  /* 84% of the window at every width, so wide screens get a wide sheet
     rather than a fixed column in a sea of grid. */
  width: 84vw;
  margin: 24px auto;
  padding: 0 48px;
  border: 1px solid var(--line-soft);
}
.sheet::before, .sheet::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--line);
  border-style: solid;
  pointer-events: none;
}
.sheet::before { top: -7px; left: -7px; border-width: 1px 0 0 1px; }
.sheet::after  { bottom: -7px; right: -7px; border-width: 0 1px 1px 0; }

.label {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- top ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
}
/* The "Measured angle" mark: blue on paper, white on the dark blueprint. */
.glyph { width: 30px; height: 30px; color: #1A73E8; }
.glyph path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.glyph .arc { stroke-width: 4.5; }

.top-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.top-nav a { text-decoration: none; color: var(--ink-2); }
.top-nav a:hover { color: var(--ink); }
.top-nav .signin {
  color: var(--ink);
  padding: 7px 14px;
  border: 1px solid var(--line);
}
.top-nav .signin:hover { background: var(--line); color: var(--paper); }

/* ---------- hero ---------- */

.hero { padding: 96px 0 72px; }

h1 {
  margin: 0;
  font-size: clamp(40px, 7.4vw, 100px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.045em;
}
h1 .line { display: block; white-space: nowrap; }
h1 .do { color: var(--ink); }
h1 br.m { display: none; }

/* The rotating word, with a dimension line that measures it. */
.swap {
  position: relative;
  display: inline-block;
  color: var(--word);
  transition: width .45s cubic-bezier(.2, .7, .2, 1);
  white-space: nowrap;
  vertical-align: bottom;
  padding-bottom: .12em;
}
.word {
  display: inline-block;
  transition: transform .35s ease, opacity .35s ease;
}
.word.out { transform: translateY(-.35em); opacity: 0; }
.word.in  { transform: translateY(.35em);  opacity: 0; transition: none; }

.dim {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
}
.dim::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1.5px solid var(--line);
}

.lede {
  margin: 36px 0 40px;
  max-width: 560px;
  font-size: 19px;
  color: var(--ink-2);
}

.wait {
  display: flex;
  max-width: 520px;
  border: 1px solid var(--line);
  background: var(--field);
}
.wait input[type=email] {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.wait input::placeholder { color: var(--ink-3); }
.wait input:focus { outline: none; }
.wait:focus-within { box-shadow: 0 0 0 3px var(--line-soft); }
.wait button {
  padding: 0 22px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.wait button:hover { filter: brightness(1.1); }
.wait button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.fine {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 520px;
}
.fine.ok  { color: var(--ink); }
.fine.err { color: #c2412d; }

/* ---------- drawing: Design → Do → Review, and back ---------- */

.drawing {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line-soft);
}
figure { margin: 0; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
  position: relative;
}
.step {
  position: relative;
  border: 1.25px solid var(--line);
  background: var(--field);
  padding: 22px 24px 24px;
}
.step.is-do { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step.is-do p, .step.is-do .num { color: rgba(255, 255, 255, .82); }
.step.is-do .parts li { border-color: rgba(255, 255, 255, .55); color: var(--accent-ink); }
/* The arrow to the next step. */
.step:not(:last-child)::after {
  content: "";
  position: absolute; top: 50%; right: -46px;
  width: 36px; border-top: 1.5px solid var(--line);
}
.step:not(:last-child)::before {
  content: "";
  position: absolute; top: calc(50% - 5px); right: -47px;
  border: 5px solid transparent; border-left: 8px solid var(--line); border-right: 0;
}
.step .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.step h3 { margin: 6px 0 8px; font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.step p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.parts li {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-soft); padding: 3px 8px; color: var(--ink);
}
/* The way back: a dashed line from Review round to Design. */
.return {
  position: relative;
  margin: 0 calc(100% / 6) 0;
  height: 44px;
  border: 1.5px dashed var(--line);
  border-top: 0;
}
.return::before {
  content: "";
  position: absolute; left: -6.5px; top: -2px;
  border: 5.5px solid transparent; border-bottom: 9px solid var(--line); border-top: 0;
}
.return span {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%);
  background: var(--paper); padding: 0 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}

/* Design's sum: Pillars + Vision Board = Your Life Blueprint. */
.sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 15px; }
.sum span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-soft); padding: 3px 8px;
}
.sum i { font-style: normal; font-family: var(--mono); color: var(--line); font-weight: 500; }
.sum b {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  background: var(--accent); color: var(--accent-ink); padding: 4px 9px;
}
/* The Google line, under the method. */
.sync {
  margin: 40px 0 0; padding: 14px 18px; border: 1px solid var(--line-soft); background: var(--field);
  font-size: 16px; color: var(--ink-2);
}
.sync b { color: var(--ink); font-weight: 600; }
.sync-k { margin-right: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--line); }

figcaption {
  margin-top: 30px;
  font-size: 15px;
  color: var(--ink-3);
}

/* ---------- notes ---------- */

.notes {
  padding: 56px 0 72px;
  border-top: 1px solid var(--line-soft);
}
.notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: note;
}
.notes li { counter-increment: note; }
.notes li::before {
  content: counter(note);
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--line);
}
.notes h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.notes p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- title block ---------- */

.titleblock {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 2fr;
  margin: 0 -48px;
  border-top: 1px solid var(--line);
}
.titleblock > div {
  padding: 12px 16px 14px;
  border-right: 1px solid var(--line-soft);
}
.titleblock > div:last-child { border-right: 0; }
.titleblock .k {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.titleblock .v { font-size: 15px; font-weight: 500; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  /* Stacked: arrows point down, and the way back runs up the left side. */
  .steps { grid-template-columns: 1fr; gap: 40px; margin-left: 28px; }
  .step:not(:last-child)::after { top: auto; bottom: -34px; right: auto; left: 50%; width: 0; height: 28px; border-top: 0; border-left: 1.5px solid var(--line); }
  .step:not(:last-child)::before { top: auto; bottom: -36px; right: auto; left: calc(50% - 4.5px); border: 5px solid transparent; border-top: 8px solid var(--line); border-bottom: 0; }
  .return { position: absolute; margin: 0; height: auto; }
  .loop figure { position: relative; }
  .loop .return { left: 0; top: 40px; bottom: 120px; width: 22px; border: 1.5px dashed var(--line); border-right: 0; }
  .loop .return::before { left: auto; right: -6px; top: -6.5px; border: 5.5px solid transparent; border-left: 9px solid var(--line); border-right: 0; }
  .loop .return span { display: none; }
  .step h3 { font-size: 28px; }
  h1 br.m { display: inline; }
  h1 { font-size: clamp(40px, 11vw, 88px); }
  .notes ol { grid-template-columns: 1fr; gap: 32px; }
  .titleblock { grid-template-columns: repeat(2, 1fr); }
  .titleblock > div { border-bottom: 1px solid var(--line-soft); }
  .titleblock > div:nth-child(2n) { border-right: 0; }
  .titleblock .wide { grid-column: 1 / -1; border-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .sheet { width: auto; margin: 0; padding: 0 16px; border-width: 0; }
  .sheet::before, .sheet::after { display: none; }
  .titleblock { margin: 0 -16px; }
  .top-nav { gap: 18px; }
  .top-nav a[href="#how"] { display: none; }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: clamp(40px, 13vw, 60px); }
  h1 br.m { display: inline; }
  .lede { font-size: 17px; margin: 26px 0 28px; }
  .wait { flex-direction: column; }
  .wait button { padding: 14px; border-top: 1px solid var(--line); }
  .drawing { padding: 40px 0 44px; }
  .notes { padding: 40px 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .swap, .word { transition: none; }
}

.titleblock .v a { color: var(--ink-2); text-decoration: none; }
.titleblock .v a:hover { color: var(--accent); text-decoration: underline; }
