/* TrueCoast Websites */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 107%;
}
@font-face {
  font-family: "Display Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  ascent-override: 95%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 101%;
}

:root {
  --ink: #050b1a;
  --navy-950: #081226;
  --navy-900: #0b1a36;
  --navy-800: #0f2341;
  --navy-700: #17325a;
  --navy-600: #23477a;
  --navy-200: #c9d4e6;
  --navy-100: #e4eaf4;
  --navy-50: #f4f7fc;
  --white: #ffffff;
  --text: #0b1a36;
  --muted: #4b5a75;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c5da;
  --accent: #ffb224;
  --accent-soft: #ffd27a;
  --accent-ink: #0b1a36;
  --line: #dde4ef;
  --line-dark: rgba(255, 255, 255, .12);
  --glow-blue: 43, 108, 255;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 54, .06), 0 2px 8px rgba(11, 26, 54, .05);
  --shadow-md: 0 2px 4px rgba(11, 26, 54, .05), 0 14px 34px -8px rgba(11, 26, 54, .16);
  --shadow-lg: 0 30px 80px -20px rgba(3, 8, 22, .65);
  --font-display: "Bricolage Grotesque", "Display Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 112px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 8.6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 5.4vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--navy-600); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.section-light :focus-visible, .section-white :focus-visible, .terms-body :focus-visible, .checkout-main :focus-visible { outline-color: var(--navy-600); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 2rem); }
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: .7rem 1.1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  --btn-pad: .85rem 1.35rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--btn-pad); border-radius: 999px; border: 1.5px solid transparent;
  font: 650 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(255, 178, 36, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-accent:hover { color: var(--accent-ink); background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 178, 36, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-small { --btn-pad: .55rem 1rem; font-size: .9rem; }
.btn-lg { --btn-pad: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 18, 38, .94);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(8, 18, 38, .72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding-top: .7rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-dark); text-decoration: none; font: 700 1.38rem/1 var(--font-display); letter-spacing: -.03em; padding: .2rem 0; }
.wordmark:hover { color: var(--on-dark); }
.wordmark-mark {
  width: 1.55rem; height: 1.55rem; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  position: relative; overflow: hidden;
}
.wordmark-mark::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 24%; height: 3px; border-radius: 2px; background: var(--accent); }
.wordmark-mark::before { content: ""; position: absolute; left: 22%; right: 38%; top: 26%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .85); box-shadow: 0 5px 0 rgba(255, 255, 255, .5); }
.wordmark-dot { width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); margin-left: -.35rem; align-self: flex-end; margin-bottom: .2rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 2.5rem; min-height: 2.5rem; padding: 0 .65rem; border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  transition: background-color .2s, border-color .2s;
}
.header-phone:hover { color: var(--on-dark); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.header-phone .icon { color: var(--accent); }
.header-phone span { display: none; }
.site-nav { order: 3; width: 100%; margin-inline: calc(-1 * clamp(1rem, 4.5vw, 2rem)); width: calc(100% + 2 * clamp(1rem, 4.5vw, 2rem)); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 1.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 1.5rem), transparent); }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: .3rem clamp(1rem, 4.5vw, 2rem) .45rem; white-space: nowrap; }
.site-nav a { display: inline-block; padding: .4rem .7rem; border-radius: 999px; color: var(--on-dark-muted); text-decoration: none; font-weight: 550; font-size: .9rem; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .08); }
.site-nav li:first-child a { margin-left: -.7rem; }
.site-nav a[aria-current="page"] { color: var(--on-dark); }

@media (min-width: 560px) {
  .header-phone span { display: inline; }
  .header-phone { padding: 0 .9rem; }
}

/* Eyebrows */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: var(--accent); }
.section-dark .eyebrow, .section-contact .eyebrow, .hero .eyebrow, .page-dark .eyebrow { color: var(--accent); }
.eyebrow-pill { padding: .45rem .9rem .45rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--on-dark) !important; letter-spacing: .08em; font-size: .72rem; }
.eyebrow-pill::before { display: none; }
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 178, 36, .6); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2.6s ease-out infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 178, 36, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 178, 36, 0); } }

/* Animated mesh background */
.hero, .section-contact, .page-dark { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #14305e 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: var(--on-dark); }
.mesh { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mesh-blob { position: absolute; border-radius: 50%; will-change: transform; }
.mesh-a { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(var(--glow-blue), .38), rgba(var(--glow-blue), 0)); }
.mesh-b { width: 60vmax; height: 60vmax; right: -24vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(95, 70, 230, .30), rgba(95, 70, 230, 0)); }
.mesh-c { width: 46vmax; height: 46vmax; left: 30%; bottom: -30vmax; background: radial-gradient(closest-side, rgba(255, 178, 36, .16), rgba(255, 178, 36, 0)); }
.mesh-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); }
@media (prefers-reduced-motion: no-preference) {
  .mesh-a { animation: drift-a 22s ease-in-out infinite alternate; }
  .mesh-b { animation: drift-b 26s ease-in-out infinite alternate; }
  .mesh-c { animation: drift-c 19s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate3d(14vmax, 8vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-12vmax, 10vmax, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(-10vmax, -8vmax, 0) scale(1.2); } }

/* Hero */
.hero { padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6.5rem); }
.hero-inner { display: grid; gap: 3rem; align-items: center; }
.hero h1 { color: var(--on-dark); margin-bottom: .45em; }
.hl { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-soft) 90%); -webkit-background-clip: text; background-clip: text; color: var(--accent); -webkit-text-fill-color: transparent; }
.hero .lead { font-size: clamp(1.06rem, 2.6vw, 1.2rem); color: var(--on-dark-muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.hero-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--on-dark); margin: 0; max-width: 34em; }
.hero-note .icon { color: var(--navy-950); background: var(--accent); border-radius: 50%; padding: .2em; width: 1.35em; height: 1.35em; margin-top: .1em; }

/* Device mockups */
.hero-visual { position: relative; padding: 0 0 2.5rem; max-width: 620px; width: 100%; margin-inline: auto; }
.laptop { position: relative; width: 90%; margin-left: 3%; }
.laptop-lid { padding: 2.2% 2.2% 2.6%; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #2a3a57, #141f35); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #c3cddd, #8794ab 70%, #5d6a82); position: relative; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); }
.laptop-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: #6f7c94; }
.phone { container-type: inline-size; position: absolute; right: 0; bottom: 0; width: 31%; padding: 2.4%; border-radius: 26px; background: linear-gradient(160deg, #33435f, #121b2e); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap;
  color: var(--on-dark); background: rgba(15, 35, 65, .92); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .float-chip { background: rgba(23, 50, 90, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.float-chip .icon { color: var(--accent); }
.chip-sample { left: -2%; top: -4%; background: var(--accent) !important; color: var(--accent-ink); border-color: transparent; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.chip-call { left: 4%; bottom: 4%; }
.chip-domain { right: 2%; top: -4%; display: none; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: float 7s ease-in-out infinite; }
  .chip-call { animation: float 8s ease-in-out -2s infinite; }
  .chip-domain { animation: float 9s ease-in-out -4s infinite; }
}
@keyframes float { 50% { transform: translate3d(0, -8px, 0); } }

/* Mini sample sites (scale with their container) */
.screen { container-type: inline-size; position: relative; overflow: hidden; border-radius: 8px; }
.screen, .phone-screen { background: #fff; color: #10231a; font-family: var(--font-body); line-height: 1.3; --s-main: #1f7a4d; --s-dark: #134e33; --s-tint: #e7f4ec; --s-hero: linear-gradient(135deg, #e8f6ee, #cfeedd); }
.site-sky { --s-main: #0e7490; --s-dark: #0b4f63; --s-tint: #e3f4f8; --s-hero: linear-gradient(135deg, #67c7dd, #2b93b3); color: #0b2b36; }
.site-plum { --s-main: #8a2d62; --s-dark: #5d1c42; --s-tint: #f7e6ef; --s-hero: linear-gradient(135deg, #9b3b72, #5d1c42); color: #2c0f20; }
.screen span, .screen b, .screen i, .phone-screen span, .phone-screen b, .phone-screen i { display: block; font-style: normal; }
.ms-chrome { display: flex; align-items: center; gap: 1.2cqw; padding: 1.8cqw 2.4cqw; background: #eef1f6; border-bottom: 1px solid #dde3ec; }
.ms-chrome i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #c7cfdc; }
.ms-chrome i:first-child { background: #ff6b5f; } .ms-chrome i:nth-child(2) { background: #ffbe3d; } .ms-chrome i:nth-child(3) { background: #33c748; }
.ms-url { margin: 0 auto; padding: .7cqw 4cqw; border-radius: 99px; background: #fff; font-size: 2.3cqw; color: #4b5a75; line-height: 1.3; }
.ms-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 3.6cqw; font-size: 2.7cqw; }
.ms-logo { display: flex !important; align-items: center; gap: 1.4cqw; font-weight: 750; color: var(--s-dark); letter-spacing: -.01em; white-space: nowrap; }
.ms-logo b { width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; background: var(--s-main); }
.ms-links { display: flex !important; gap: 2.6cqw; margin-left: auto; color: #5b6b63; font-weight: 550; }
.ms-call { margin-left: auto; white-space: nowrap; padding: 1cqw 2.6cqw; border-radius: 99px; background: var(--s-main); color: #fff; font-weight: 700; }
.ms-links + .ms-call { margin-left: 0; }
.ms-hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; margin: 0 3.6cqw; border-radius: 2.4cqw; background: var(--s-hero); overflow: hidden; min-height: 30cqw; }
.ms-copy { padding: 4.4cqw 0 4.4cqw 4.4cqw; align-self: center; }
.ms-h { font: 700 5.2cqw/1.05 var(--font-display); letter-spacing: -.03em; color: var(--s-dark); margin-bottom: 1.6cqw; }
.ms-p { font-size: 2.6cqw; line-height: 1.35; color: #3c4d45; margin-bottom: 2.8cqw; }
.site-sky .ms-h, .site-plum .ms-h { color: #fff; }
.site-sky .ms-p, .site-plum .ms-p { color: rgba(255, 255, 255, .9); }
.ms-btns { display: flex !important; gap: 1.6cqw; flex-wrap: wrap; }
.ms-btn { padding: 1.3cqw 3cqw; border-radius: 99px; background: var(--s-main); color: #fff; font-size: 2.5cqw; font-weight: 700; white-space: nowrap; }
.site-sky .ms-btn, .site-plum .ms-btn { background: #fff; color: var(--s-dark); }
.ms-btn-alt { background: #fff; color: var(--s-dark); box-shadow: inset 0 0 0 1px rgba(19, 78, 51, .25); }
.ms-art { width: 100%; height: 100%; max-width: none; align-self: stretch; }
.ms-tiles { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 3cqw 3.6cqw; }
.ms-tiles span { padding: 3cqw 2cqw 2.4cqw; border-radius: 1.8cqw; background: var(--s-tint); color: var(--s-dark); font-size: 2.6cqw; font-weight: 700; position: relative; }
.ms-tiles span::before { content: ""; display: block; width: 4cqw; height: 4cqw; border-radius: 1.2cqw; background: var(--s-main); opacity: .85; margin-bottom: 1.6cqw; }
.ms-info { display: grid !important; grid-template-columns: 1fr 1.4fr; gap: 2cqw; padding: 0 3.6cqw 3.6cqw; }
.ms-hours { padding: 2.4cqw; border-radius: 1.8cqw; border: 1px solid #e3e8e5; font-size: 2.4cqw; color: #3c4d45; }
.ms-hours b { color: var(--s-dark); font-size: 2.6cqw; margin-bottom: .6cqw; }
.ms-map { position: relative; border-radius: 1.8cqw; min-height: 11cqw; background: linear-gradient(115deg, transparent 46%, #fff 46% 50%, transparent 50%), linear-gradient(25deg, transparent 60%, #fff 60% 63%, transparent 63%), #dfeadf; }
.ms-map i { position: absolute; left: 50%; top: 50%; width: 3.6cqw; height: 3.6cqw; margin: -3.6cqw 0 0 -1.8cqw; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5484d; box-shadow: 0 0 0 1cqw rgba(229, 72, 77, .2); }

.phone-screen { container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 9 / 19; border-radius: 19px; background: #fff; display: flex; flex-direction: column; gap: 4cqw; padding: 13cqw 6cqw 6cqw; }
.phone-screen > span, .phone-screen b { display: block; }
.ph-notch { position: absolute; top: 3cqw; left: 50%; width: 30cqw; height: 7cqw; margin-left: -15cqw; border-radius: 99px; background: #121b2e; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; font-size: 7cqw; }
.ph-nav .ms-logo { gap: 3cqw; }
.ph-nav .ms-logo b { width: 8cqw; height: 8cqw; border-radius: 2.4cqw; }
.ph-callicon { display: block; width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--s-tint); box-shadow: inset 0 0 0 3.2cqw var(--s-main); }
.ph-hero { padding: 7cqw 6cqw; border-radius: 6cqw; background: var(--s-hero); display: block; }
.ph-hero .ms-h { font-size: 11cqw; margin-bottom: 3cqw; display: block; }
.ph-hero .ms-p { font-size: 6.2cqw; margin: 0; display: block; }
.ph-call { padding: 4.4cqw; border-radius: 99px; text-align: center; background: var(--s-main); color: #fff; font-weight: 750; font-size: 7cqw; line-height: 1.2; }
.ph-card { display: flex; justify-content: space-between; align-items: center; padding: 4.4cqw 5cqw; border-radius: 5cqw; border: 1px solid #e3e8e5; font-size: 6cqw; color: #3c4d45; }
.ph-card b { color: var(--s-dark); }
.ph-map { flex: 1; min-height: 20cqw; border-radius: 5cqw; }
.ph-map i { width: 9cqw; height: 9cqw; margin: -9cqw 0 0 -4.5cqw; box-shadow: 0 0 0 2.4cqw rgba(229, 72, 77, .2); }

/* Sections */
.section { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section-light { background: var(--navy-50); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-intro { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-dark .section-intro { color: var(--on-dark-muted); }
.section-intro a { font-weight: 650; white-space: nowrap; }
.glow { position: absolute; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%; pointer-events: none; }
.glow-left { left: -30vmax; top: -20vmax; background: radial-gradient(closest-side, rgba(var(--glow-blue), .28), transparent); }
.glow-right { right: -28vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(95, 70, 230, .26), transparent); }
.section-pricing .glow-left { display: none; }
.section-pricing::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 32%; width: 46rem; height: 22rem; margin-left: -23rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 178, 36, .10), transparent); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.glass { position: relative; border-radius: var(--radius); background: rgba(19, 41, 76, .96); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--on-dark); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)), rgba(15, 35, 65, .45); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
}

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature { padding: 1.6rem 1.5rem 1.5rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: 0; transition: opacity .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd6e6; }
.feature:hover::after { opacity: 1; }
.feature h3 { margin: 1.15rem 0 .45rem; }
.feature p { color: var(--muted); margin: 0; }
.icon-tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: linear-gradient(140deg, var(--navy-700), var(--navy-900)); color: var(--accent); box-shadow: 0 8px 18px -8px rgba(11, 26, 54, .55), inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform .35s var(--ease); }
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.feature:hover .icon-tile { transform: rotate(-6deg) scale(1.06); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; position: relative; }
.step { padding: 1.75rem 1.6rem 1.6rem; transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-4px); border-color: rgba(255, 178, 36, .45); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.step-num { font: 700 2.8rem/1 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.step-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px rgba(255, 178, 36, .14); }
.step-icon svg { width: 1.4rem; height: 1.4rem; }
.step h3 { margin-bottom: .45rem; }
.step p { margin: 0; color: var(--on-dark-muted); }

/* Examples */
.examples-grid { display: grid; gap: 1.75rem; }
.example { margin: 0; }
.ex-frame { padding: .55rem; border-radius: 18px; background: linear-gradient(160deg, #e9eef6, #d8e0ec); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ex-frame .screen { border-radius: 11px; }
.ex-frame .ms-hero { height: 40cqw; }
.ex-frame .ms-copy { overflow: hidden; }
.example:hover .ex-frame { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.example figcaption { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; font-weight: 650; color: var(--text); }
.tag { display: inline-block; padding: .3rem .65rem; border-radius: 999px; background: var(--navy-900); color: var(--accent); font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.ex-type { font-size: 1.02rem; }

/* Pricing */
.pricing-grid { display: grid; gap: 1.25rem; max-width: 900px; margin-inline: auto; align-items: stretch; }
.price-card { padding: 2rem 1.6rem 1.75rem; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; letter-spacing: .01em; color: var(--on-dark-muted); margin-bottom: .9rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem; margin: 0 0 .6rem; }
.price-amount { font: 700 clamp(2.7rem, 9vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--on-dark); }
.price-unit { font-weight: 600; color: var(--on-dark-muted); }
.price-desc { color: var(--on-dark-muted); margin-bottom: 1.3rem; }
.checklist { list-style: none; padding: 1.3rem 0 0; margin: 0 0 1.6rem; border-top: 1px solid var(--line-dark); display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: .22em; width: 1.4em; height: 1.4em; margin-top: .12em; }
.price-card .btn { margin-top: auto; }
.price-card-main { border: 1px solid transparent; background-clip: padding-box; }
.price-card-main::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(150deg, var(--accent), rgba(255, 178, 36, .1) 45%, rgba(255, 255, 255, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.price-card-main { box-shadow: 0 30px 70px -30px rgba(255, 178, 36, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }

/* FAQ */
.faq-layout { display: grid; gap: 1rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq-list details:hover { border-color: #c4d0e2; }
.faq-list details[open] { border-color: #b9c7dd; box-shadow: var(--shadow-md); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem 1.15rem 1.4rem; font-weight: 650; font-size: 1.04rem; color: var(--text); border-radius: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230b1a36' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border: 1px solid var(--line); transition: transform .35s var(--ease), background-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--accent); border-color: var(--accent); }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-a { padding: 0 1.4rem 1.25rem; }
.faq-a p { margin: 0; color: var(--muted); max-width: 60ch; }
.faq-list details::details-content { block-size: 0; overflow: hidden; }
.faq-list details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content { transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-list details[open] .faq-a { animation: fade-up .45s var(--ease); }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(-6px); } }

/* Contact */
.section-contact { padding: clamp(4.5rem, 11vw, 8rem) 0; }
.section-contact h2 { color: var(--on-dark); font-size: clamp(2.1rem, 6vw, 3.6rem); }
.section-contact .lead { color: var(--on-dark-muted); font-size: 1.12rem; max-width: 32em; margin: 0; }
.mesh-soft .mesh-a { left: auto; right: -30vmax; top: -20vmax; }
.mesh-soft .mesh-b { right: auto; left: -20vmax; top: 10vmax; }
.contact-inner { display: grid; gap: 2.5rem; align-items: center; }
.contact-card { padding: 1.6rem; }
.contact-list { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; padding: .8rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.contact-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: rgba(255, 178, 36, .14); color: var(--accent); flex: none; }
.contact-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list a { color: var(--on-dark); font-weight: 650; font-size: clamp(.92rem, 3.9vw, 1.05rem); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }
.privacy-note { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .9rem; color: var(--on-dark-muted); }
.privacy-note .icon { color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-inner { display: grid; gap: 1.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.footer-tag { margin: .8rem 0 0; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-dark); text-decoration: none; font-weight: 550; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact .icon { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-top: 1.5rem; font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-links a { color: var(--on-dark); font-weight: 600; }
.footer-links a:hover { color: var(--accent); }

/* Scroll reveal: the hidden state is only added by script */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.feature-grid > .reveal:nth-child(3n+2), .steps > .reveal:nth-child(2), .examples-grid > .reveal:nth-child(2), .pricing-grid > .reveal:nth-child(2) { transition-delay: .1s; }
.feature-grid > .reveal:nth-child(3n), .steps > .reveal:nth-child(3), .examples-grid > .reveal:nth-child(3) { transition-delay: .2s; }

/* Service Agreement page */
.terms-hero { padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 4.5rem); }
.terms-hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: .35em; }
.terms-updated { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 178, 36, .12); border: 1px solid rgba(255, 178, 36, .35); color: var(--accent); font-weight: 650; font-size: .88rem; margin-bottom: 1.25rem; }
.terms-hero .lead { margin: 0; color: var(--on-dark-muted); font-size: 1.12rem; max-width: 36em; }
.terms-body { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(4rem, 9vw, 6rem); background: var(--navy-50); }
.terms-layout { display: grid; gap: 2rem; max-width: 1080px; }
.terms-toc { display: none; }
.terms-intro { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.terms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.terms-item { scroll-margin-top: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.3rem 1.25rem; box-shadow: var(--shadow-sm); }
.terms-item h2 { display: flex; align-items: center; gap: .8rem; font-size: 1.28rem; margin-bottom: .7rem; }
.terms-num { display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--navy-900); color: var(--accent); font: 700 .95rem/1 var(--font-body); letter-spacing: 0; }
.terms-item p { color: var(--muted); margin: 0 0 .75em; }
.terms-item p:last-child { margin-bottom: 0; }
.terms-item a { font-weight: 650; overflow-wrap: anywhere; }
.terms-item a[href^="tel:"] { white-space: nowrap; }

/* 404 and simple pages */
.page-404 { background: var(--navy-950); }
.notfound { min-height: 72vh; display: flex; align-items: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); color: var(--on-dark); }
.notfound .lead { color: var(--on-dark-muted); font-size: 1.12rem; max-width: 34em; }
.big-404 { display: block; font: 700 clamp(5rem, 22vw, 10rem)/.9 var(--font-display); letter-spacing: -.06em; margin-bottom: 1.25rem; background: linear-gradient(120deg, #ffffff 20%, var(--navy-200) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: var(--on-dark); -webkit-text-fill-color: transparent; }

/* Checkout pages (kept working, not linked) */
.page-checkout { background: var(--navy-950); }
.checkout-main { padding: 3rem 0 4rem; background: var(--navy-50); min-height: 70vh; }
.checkout-intro { color: var(--muted); margin-bottom: 1.5rem; }
.checkout-card { padding: 1.5rem; }
.checkout-message { margin: 0 0 1rem; }
.checkout-message:empty { display: none; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.footer-base:first-child { border-top: 0; }

@media (max-width: 379px) {
  .contact-icon { display: none; }
  .contact-card { padding: 1.25rem; }
}
@media (max-width: 639px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* Larger screens */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-domain { display: inline-flex; }
  .price-card { padding: 2.4rem 2.2rem 2.2rem; }
  .contact-card { padding: 2rem; }
  .terms-item { padding: 1.6rem 1.8rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-contact { align-items: flex-end; }
  .footer-base { justify-content: space-between; }
}
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .header-inner { flex-wrap: nowrap; padding-block: .85rem; gap: 1.5rem; }
  .site-nav { order: 0; width: auto; margin: 0 0 0 auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .site-nav ul { padding: 0; gap: .1rem; }
  .site-nav li:first-child a { margin-left: 0; }
  .header-actions { margin-left: .5rem; }
  .hero { padding: 5rem 0 6.5rem; }
  .hero-inner { grid-template-columns: 1.02fr .98fr; gap: 3.5rem; }
  .hero-visual { padding-bottom: 3rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature { padding: 2rem 1.85rem 1.85rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 3.2rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 178, 36, .5), transparent); z-index: -1; }
  .examples-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .contact-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .terms-layout { grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
  .terms-toc { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .9rem; }
  .terms-toc p { font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
  .terms-toc ol { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 2px solid var(--line); display: grid; gap: .45rem; }
  .terms-toc a { color: var(--muted); text-decoration: none; font-weight: 550; }
  .terms-toc a:hover { color: var(--navy-800); text-decoration: underline; }
}
@media (min-width: 1100px) {
  .header-phone span { display: inline; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .mesh-blob, .phone, .float-chip, .pulse { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mesh, .glow { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Simple pages */
.header-simple { padding-bottom: .7rem; }
.site-footer-slim { padding: 0 0 1.75rem; }
.site-footer-slim .footer-base { border-top: 0; }
.notfound .hero-actions { margin-bottom: 0; }
.page-404 { background: var(--ink); }
.terms-hero .container-narrow { max-width: 1080px; }
@media (min-width: 960px) {
  .terms-hero .container-narrow { padding-left: calc(2rem + 220px + 3rem); }
}
.header-phone:not(:has(svg)) span { display: inline; }
.header-phone:not(:has(svg)) { padding: 0 .9rem; }
.site-footer > .footer-base:first-child { padding-top: 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; flex: none; padding: .15rem 0; border-radius: 6px; }
.logo img { display: block; width: auto; height: 32px; }
.logo-footer img { height: 34px; }
@media (min-width: 400px) { .logo-header img { height: 34px; } }
@media (min-width: 960px) { .logo-header img { height: 38px; } .logo-footer img { height: 36px; } }
@media (max-width: 389px) { .header-cta { display: none; } }

/* Pricing tiers */
.section-pricing .section-intro { margin-inline: auto; max-width: 34em; }
.tier-grid { display: grid; gap: 1.25rem; max-width: 1000px; margin-inline: auto; }
.tier-name { font: 700 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--on-dark); margin-bottom: .85rem; }
.price-card .tier-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; color: var(--on-dark); }
.tier-badge { position: absolute; top: -.85rem; right: 1.5rem; margin: 0; padding: .35rem .8rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(255, 178, 36, .6); }
.tier-card .price-desc { min-height: 0; }
.hosting-card { padding: 1.75rem 1.6rem; }
.hosting-card .checklist { margin-bottom: 0; }
.hosting-card .price-desc { margin-bottom: 0; }
@media (min-width: 640px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .hosting-card { grid-column: 1 / -1; padding: 2rem 2.2rem; }
}
@media (min-width: 900px) {
  .tier-card .price-desc { min-height: 3.3em; }
  .hosting-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center; }
  .hosting-card .checklist { border-top: 0; border-left: 1px solid var(--line-dark); padding: .25rem 0 .25rem 2.5rem; }
}

/* Header fit for the TrueCoast wordmark */
.header-inner { column-gap: .5rem; }
.header-actions { gap: .4rem; }
.header-cta.btn-small { --btn-pad: .55rem .85rem; }
@media (max-width: 389px) { .header-cta { display: none; } }
@media (min-width: 960px) { .header-inner { column-gap: 1.5rem; } .header-actions { gap: .5rem; } }
@media (min-width: 960px) and (max-width: 1099px) { .header-inner { column-gap: 1rem; } .site-nav a { padding: .4rem .55rem; } .header-actions { margin-left: .25rem; } }
