/* Skyles Financial website. Fonts are served from this site (no outside requests except the spam check on the form). */
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(/fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 700; font-display: swap; src: url(/fonts/source-serif-4-latin-700-normal.woff2) format("woff2"); }

:root {
  --teal: #1f4e5f;
  --teal-dark: #163a47;
  --ink: #14262e;
  --text: #2c3d43;
  --muted: #4d5e64;
  --line: #d6dedf;
  --paper: #fbfaf7;
  --tint: #eef3f3;
  --accent: #a5621a;
  --sand: #f2c58a;
  --ok: #2f6b3a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Figtree, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin-bottom: 12px; }
h3 { font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; scroll-margin-top: 64px; }
.band { background: var(--tint); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-lead { color: var(--text); font-size: 18px; max-width: 680px; margin-bottom: 32px; }

/* buttons */
.btn { display: inline-block; font: 600 16px/1 var(--sans); text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-quiet { color: var(--teal); border-color: var(--teal); }
.btn-quiet:hover { background: var(--teal); color: #fff; }
.btn-ghost { padding: 9px 16px; font-size: 15px; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 23px var(--serif); color: var(--teal); text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; display: block; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--teal); }

/* hero */
.hero { padding: 64px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.04; margin-bottom: 18px; text-wrap: balance; }
.lead { font-size: 19px; color: var(--text); max-width: 560px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* portal sample */
.mock { margin: 0; background: #fff; border: 1px solid #c9d3d5; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(20, 38, 46, .14); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--teal); color: #fff; padding: 12px 18px; font: 700 16px var(--serif); }
.mock-nav { font: 500 12px var(--sans); color: #cfe0e4; }
.mock-body { padding: 18px; background: #f4f5f3; }
.mock-sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #fff; border: 1px solid #e1e5e5; border-radius: 10px; padding: 10px 12px; }
.tile span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile b { font-size: 22px; }
.tile b.pos { color: var(--ok); }
.chart { margin-top: 10px; background: #fff; border: 1px solid #e1e5e5; border-radius: 10px; padding: 12px; }
.bars { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; height: 96px; align-items: end; }
.bars i { display: flex; gap: 2px; height: 100%; align-items: end; }
.bars i::before, .bars i::after { content: ""; flex: 1; border-radius: 2px 2px 0 0; }
.bars i::before { background: var(--teal); }
.bars i::after { background: #c08442; }
.bars i:nth-child(1)::before { height: 62%; } .bars i:nth-child(1)::after { height: 55%; }
.bars i:nth-child(2)::before { height: 58%; } .bars i:nth-child(2)::after { height: 60%; }
.bars i:nth-child(3)::before { height: 71%; } .bars i:nth-child(3)::after { height: 57%; }
.bars i:nth-child(4)::before { height: 66%; } .bars i:nth-child(4)::after { height: 63%; }
.bars i:nth-child(5)::before { height: 60%; } .bars i:nth-child(5)::after { height: 58%; }
.bars i:nth-child(6)::before { height: 74%; } .bars i:nth-child(6)::after { height: 61%; }
.bars i:nth-child(7)::before { height: 57%; } .bars i:nth-child(7)::after { height: 66%; }
.bars i:nth-child(8)::before { height: 63%; } .bars i:nth-child(8)::after { height: 59%; }
.bars i:nth-child(9)::before { height: 69%; } .bars i:nth-child(9)::after { height: 62%; }
.legend { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }
.legend .li::before { background: var(--teal); }
.legend .le::before { background: #c08442; }
.mock figcaption { font-size: 12px; color: var(--muted); padding: 8px 18px 10px; background: #fff; border-top: 1px solid #e8ecec; }

/* cards and plans */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card p:last-child { margin-bottom: 0; color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.plan-featured { background: var(--teal); border-color: var(--teal); color: #fff; }
.plan-featured h3 { color: #fff; }
.plan-head { display: flex; justify-content: space-between; align-items: center; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--sand); color: var(--ink); padding: 4px 9px; border-radius: 999px; margin-bottom: 8px; }
.price { font-size: 16px; color: var(--muted); margin: 4px 0 2px; }
.price b { font-size: 38px; color: var(--teal); letter-spacing: -.01em; }
.fit { font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.plan-featured .price, .plan-featured .fit { color: #d3e2e5; }
.plan-featured .price b { color: #fff; }
.plan-featured .fit { border-color: #4b7584; }
.plan ul, .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15.5px; }
.plan li, .checks li { position: relative; padding-left: 26px; }
.plan li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.plan-featured li::before { border-color: var(--sand); }
.plan li.soon { color: var(--accent); font-weight: 600; }
.plan li.soon::before { border-color: var(--accent); }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 18px; padding: 24px 26px; border: 1.5px dashed #b9c7ca; border-radius: 16px; background: #fff; }
.addon p:last-child { margin-bottom: 0; color: var(--text); max-width: 640px; }
.addon-price { text-align: right; color: var(--muted); white-space: nowrap; font-size: 16px; }
.addon-price b { font-size: 32px; color: var(--teal); }
.addon-price span { font-size: 14px; }
.includes { margin-top: 22px; font-size: 15px; color: var(--text); }
.checks + h3, .two h3 { color: var(--teal); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 18px var(--serif); margin-bottom: 14px; }
.step p { color: var(--text); font-size: 16px; }

.about { max-width: 760px; }
.about p { font-size: 18px; color: var(--text); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.direct { font-size: 17px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 16px var(--sans); color: var(--ink); padding: 11px 12px; border: 1px solid #bfcacc; border-radius: 9px; background: #fff; width: 100%; }
.form textarea { resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 9px; font-weight: 600; background: #e7f2e8; color: var(--ok); }
.form-status.err { background: #fbeaea; color: #8a2a2a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* development dashboard intake (intake.html) */
.intake { padding: 56px 0 72px; }
.intake-in { max-width: 780px; }
.intake h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; margin-bottom: 14px; }
.intake .lead { max-width: 640px; margin-bottom: 18px; }
.intake-note { background: var(--tint); border-left: 3px solid var(--accent); border-radius: 9px; padding: 12px 14px; font-size: 15px; color: var(--text); margin-bottom: 24px; }
.intake-form { gap: 20px; }
.form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0 0; display: grid; gap: 14px; min-width: 0; }
.form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.form legend { font: 700 19px var(--serif); color: var(--teal); padding: 0; margin-bottom: 4px; }
.form legend .opt { font: 400 14px var(--sans); }
.opts { display: grid; gap: 8px; }
.opts-q { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-hint { margin: 0; align-self: end; font-size: 14px; color: var(--muted); }
.form .opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 400; color: var(--text); cursor: pointer; }
.form .opts input { width: auto; margin: 4px 0 0; padding: 0; accent-color: var(--teal); flex: none; }
.intake .direct { margin-top: 18px; }
.intake .kicker a { color: inherit; text-decoration: none; }
.intake .kicker a:hover { text-decoration: underline; }
.intake-pick { max-width: 1120px; }
.pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.pick-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pick-card:hover { border-color: var(--teal); box-shadow: 0 6px 20px rgba(20, 38, 46, .08); color: var(--ink); }
.pick-card .kicker { margin-bottom: 6px; }
.pick-card p:not(.kicker) { color: var(--text); font-size: 16px; flex: 1; }
.pick-go { font-weight: 600; color: var(--teal); }
@media (max-width: 900px) { .pick { grid-template-columns: 1fr; } }

.foot { background: var(--ink); color: #c9d6d9; padding: 32px 0; }
.foot-in p { margin: 0 0 6px; }
.foot b { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; flex: none; }
.fine { font-size: 13px; color: #9fb1b5; }

@media (max-width: 900px) {
  .hero-in, .contact, .two { grid-template-columns: 1fr; gap: 36px; }
  .plans, .steps { grid-template-columns: 1fr; }
  .addon { flex-direction: column; align-items: flex-start; }
  .addon-price { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .form .row { grid-template-columns: 1fr; }
  .tile b { font-size: 18px; }
}

/* privacy and terms pages */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 56px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
