/* itsmilliesmith.com
   Palette: bluebonnet (Austin's state flower) and marigold.
   Type: Archivo, one family, using its width axis for the display lines. */

:root {
  --bonnet: #283b8a;
  --bonnet-panel: #22337a;
  --bonnet-line: #4a5db0;
  --marigold: #f2b33d;
  --marigold-hover: #f7c461;
  --on-marigold: #171a2c;
  --on-bonnet: #f5f6fb;
  --on-bonnet-muted: #c6cdea;

  --paper: #ffffff;
  --mist: #eef0f7;
  --ink: #171a2c;
  --muted: #555b73;
  --rule: #d9dcea;
  --link: #283b8a;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12152a;
    --mist: #1a1e38;
    --ink: #e9ebf4;
    --muted: #a7aec8;
    --rule: #2d3256;
    --link: #b4c2ff;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-stretch: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--marigold); color: var(--on-marigold); padding: 8px 14px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  font-stretch: 106%;
}
.btn-gold { background: var(--marigold); color: var(--on-marigold); }
.btn-gold:hover { background: var(--marigold-hover); }
.btn-blue { background: var(--bonnet); color: #fff; }
.btn-blue:hover { background: #31479f; }
.btn-line { border: 1.5px solid rgba(245, 246, 251, .6); color: var(--on-bonnet); }
.btn-line:hover { border-color: var(--on-bonnet); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.bar nav { display: flex; align-items: center; gap: 24px; }
.bar nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 550; font-size: 1rem; }
.bar nav a:not(.btn):hover { text-decoration: underline; }
.wordmark { color: inherit; text-decoration: none; font-weight: 800; font-stretch: 125%; font-size: 1.2rem; letter-spacing: -.01em; }
.monogram { display: block; width: 40px; height: 40px; }
@media (max-width: 640px) { .bar nav .hide-sm { display: none; } }

/* ---------- Home: personal page ---------- */
.home-hero { background: var(--bonnet); color: var(--on-bonnet); }
.home-hero a:not(.btn) { color: var(--on-bonnet); }
.home-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end;
  padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 104px);
}
.name {
  font-weight: 800;
  font-size: clamp(4.25rem, 17vw, 12.5rem);
  line-height: .9;
  letter-spacing: -.02em;
  font-stretch: 125%;
}
.name span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .name { animation: widen 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes widen { from { font-stretch: 75%; opacity: .2; } to { font-stretch: 125%; opacity: 1; } }
}
.intro { margin-top: 32px; max-width: 32ch; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.35; font-stretch: 104%; }
.portrait { margin: 0; width: clamp(220px, 24vw, 320px); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; outline: 3px solid var(--marigold); outline-offset: 6px; }
.portrait[hidden] { display: none; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .home-hero-grid { grid-template-columns: 1fr; } .portrait { width: min(260px, 70%); } }

.split { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: 48px; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 16px; } }
.split h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 760; font-stretch: 112%; letter-spacing: -.01em; }
.split .note { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.story p { max-width: 60ch; font-size: 1.2rem; line-height: 1.65; }
.story p + p { margin-top: 18px; }
.now { list-style: none; max-width: 60ch; }
.now li { padding: 20px 0; border-top: 1px solid var(--rule); }
.now li:last-child { border-bottom: 1px solid var(--rule); }
.now b { display: block; font-size: 1.2rem; font-weight: 700; font-stretch: 106%; }
.now b::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; border-radius: 2px; background: var(--marigold); vertical-align: 2px; }
.now p { margin-top: 6px; padding-left: 22px; color: var(--muted); }

.hello { background: var(--bonnet); color: var(--on-bonnet); }
.hello h2 { color: var(--on-bonnet); }
.hello a:not(.btn) { color: var(--on-bonnet); }
.hello-links { list-style: none; display: grid; gap: 6px; }
.hello-links a { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 650; font-stretch: 108%; }
.hello .aside { margin-top: 28px; max-width: 48ch; color: var(--on-bonnet-muted); }
.hello-foot { margin-top: clamp(48px, 7vw, 80px); font-size: .95rem; color: var(--on-bonnet-muted); }

/* ---------- GTM page ---------- */
.hero { background: var(--bonnet); color: var(--on-bonnet); }
.hero .bar a:not(.btn) { color: var(--on-bonnet); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding-top: clamp(24px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 780; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.06; }
.hero .lede { margin-top: 24px; max-width: 34ch; font-size: 1.25rem; line-height: 1.5; color: var(--on-bonnet-muted); }
.hero .actions { margin-top: 32px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* The account map */
.map { margin: 0; background: var(--bonnet-panel); border: 1px solid var(--bonnet-line); border-radius: 8px; padding: 20px 20px 18px; }
.map-title { font-size: 1rem; font-weight: 700; font-stretch: 110%; color: var(--on-bonnet); }
.map-field { position: relative; height: 340px; margin-top: 8px; }
.map-field svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-field line { stroke: #8f9bd6; stroke-width: 1.5; stroke-dasharray: 5 5; }
.map-field line.owner { stroke: var(--marigold); stroke-width: 3; stroke-dasharray: none; }
.node {
  position: absolute; transform: translate(-50%, -50%);
  width: 44%; max-width: 210px; padding: 9px 12px; border-radius: 10px;
  background: #fff; color: #171a2c; text-align: center; line-height: 1.25;
}
.node b { display: block; font-size: .95rem; font-weight: 700; font-stretch: 104%; }
.node span { display: block; margin-top: 2px; font-size: .82rem; color: #4a5068; }
.node.owner { background: var(--marigold); }
.node.owner span { color: #3a3320; }
.node.account { width: auto; max-width: none; background: var(--bonnet-panel); color: var(--on-bonnet); border: 1.5px solid var(--on-bonnet); padding: 10px 16px; }
.node.account span { color: var(--on-bonnet-muted); }
.n1 { left: 25%; top: 13%; } .n2 { left: 75%; top: 13%; }
.n3 { left: 25%; top: 87%; } .n4 { left: 75%; top: 87%; }
.n0 { left: 50%; top: 50%; }
.map figcaption { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; line-height: 1.4; color: var(--on-bonnet-muted); }
.map figcaption span { display: flex; align-items: baseline; gap: 10px; }
.key { flex: none; display: inline-block; width: 22px; height: 0; position: relative; top: -4px; border-top: 3px solid var(--marigold); }
.key.dash { border-top: 2px dashed #8f9bd6; }
@media (max-width: 480px) {
  .map { padding: 16px 12px 14px; }
  .map-field { height: 380px; }
  .node { width: 47%; padding: 8px 8px; }
  .node b { font-size: .88rem; }
  .node span { font-size: .78rem; }
  .n1, .n3 { left: 24%; } .n2, .n4 { left: 76%; }
}
@media (prefers-reduced-motion: no-preference) {
  .map-field .node, .map-field line { animation: appear .5s ease-out both; }
  .map-field .n0 { animation-delay: .15s; }
  .map-field .owner { animation-delay: .55s; }
  .map-field .n2, .map-field .l2 { animation-delay: .95s; }
  .map-field .n3, .map-field .l3 { animation-delay: 1.15s; }
  .map-field .n4, .map-field .l4 { animation-delay: 1.35s; }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
}

/* Sections */
.section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.section.tint { background: var(--mist); }
.section h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 760; font-stretch: 112%; letter-spacing: -.01em; }
.section .sub { margin-top: 12px; max-width: 60ch; color: var(--muted); }

/* Offers: one lead, two supporting */
.offers { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.offer { padding: 28px; border: 1px solid var(--rule); border-radius: 8px; }
.offer.lead { background: var(--bonnet); color: var(--on-bonnet); border-color: var(--bonnet); padding: 36px; grid-row: span 2; }
.offer h3 { font-size: 1.4rem; font-weight: 750; font-stretch: 110%; }
.offer.lead h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.price { margin-top: 6px; font-weight: 650; color: var(--link); }
.offer.lead .price { color: var(--marigold); }
.offer > p:not(.price) { margin-top: 14px; }
.offer ul { margin-top: 16px; list-style: none; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 22px; line-height: 1.45; }
.offer li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--bonnet); }
.offer.lead li::before { border-color: var(--marigold); background: var(--marigold); }
@media (prefers-color-scheme: dark) { .offer:not(.lead) li::before { border-color: var(--link); } }
.offer.lead .btn { margin-top: 28px; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; } .offer.lead { grid-row: auto; } }

/* Steps: a real sequence, so they are numbered */
.steps { margin-top: 40px; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--bonnet); padding-top: 16px; }
@media (prefers-color-scheme: dark) { .steps li { border-top-color: var(--link); } }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-stretch: 125%; font-size: 2rem; line-height: 1; color: var(--link); margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; font-weight: 720; font-stretch: 106%; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1.02rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Background and fit */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two p { margin-top: 16px; max-width: 52ch; }
.big-fact { margin-top: 20px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.3; font-weight: 650; font-stretch: 106%; max-width: 24ch; }
.fit { margin-top: 16px; list-style: none; display: grid; gap: 12px; }
.fit li { padding: 12px 0 12px 0; border-bottom: 1px solid var(--rule); }
.fit li:first-child { border-top: 1px solid var(--rule); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; gap: 48px; } }

/* Questions */
.faq { margin-top: 28px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 650; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--link); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; max-width: 64ch; color: var(--muted); }

/* Closing call to action */
.closing { background: var(--bonnet); color: var(--on-bonnet); }
.closing h2 { color: var(--on-bonnet); }
.closing p { margin-top: 14px; max-width: 46ch; font-size: 1.2rem; color: var(--on-bonnet-muted); }
.closing .actions { margin-top: 28px; align-items: center; gap: 20px; }
.closing a:not(.btn) { color: var(--on-bonnet); }

.foot { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--muted); }
.foot a { color: inherit; }
