:root {
  --ink: #062a38;
  --text: #0a2c38;
  --muted: #506d77;
  --faint: #789099;
  --cyan: #117fae;
  --aqua: #49bde8;
  --teal: #16847d;
  --foam: #e7f2f5;
  --wash: #f4f9fa;
  --white: #ffffff;
  --line: rgba(6, 42, 56, 0.12);
  --shadow: 0 24px 80px rgba(6, 42, 56, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(73, 189, 232, 0.55);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  align-items: center;
  justify-content: space-between;
}

.nav nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 127, 174, 0.24);
  border-radius: 50%;
  background: rgba(73, 189, 232, 0.11);
  place-items: center;
}

.brand-mark::after {
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-25deg);
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 43%, rgba(255, 255, 255, 0.2) 74%),
    url("/tidehold/og-tidehold.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -60%;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  filter: blur(60px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 160px;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(6, 42, 56, 0.18);
  color: var(--white);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.hero-orb {
  position: absolute;
  z-index: 3;
  right: 13%;
  bottom: 13%;
  display: grid;
  width: 172px;
  height: 172px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.53);
  box-shadow: 0 24px 80px rgba(6, 42, 56, 0.15);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  place-items: center;
  backdrop-filter: blur(18px);
  animation: breathe 8s ease-in-out infinite;
}

.hero-orb::before,
.hero-orb::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  content: "";
}

.hero-orb::before {
  inset: -28px;
}

.hero-orb::after {
  inset: -62px;
  opacity: 0.55;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); }
  48% { transform: scale(1.06); }
}

.trust-strip {
  display: flex;
  min-height: 78px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  gap: 24px 64px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-strip span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.content-section,
.article-section,
.legal-article {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-intro > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.card-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.info-card {
  min-height: 330px;
  padding: 34px;
  box-shadow: 0 12px 40px rgba(6, 42, 56, 0.05);
}

.faq-card {
  padding: 30px;
}

.info-card > p:not(.eyebrow),
.faq-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.safety-band {
  display: grid;
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.safety-band h2 {
  margin-bottom: 0;
}

.safety-band > p {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  min-height: 570px;
  background:
    radial-gradient(circle at 84% 74%, rgba(73, 189, 232, 0.22), transparent 33%),
    linear-gradient(145deg, #ffffff, #eef8fa);
}

.page-hero-copy {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 118px;
}

.page-hero h1 {
  max-width: 930px;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
}

.effective {
  margin-top: 28px;
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 650;
}

.faq-card h2,
.legal-article h2,
.contact-card h2 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.contact-card {
  display: flex;
  margin-top: 24px;
  padding: 38px;
  border-radius: 28px;
  background: var(--wash);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-card > div {
  max-width: 660px;
}

.contact-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.small-print {
  margin-top: 28px;
  color: var(--faint);
  font-size: 0.84rem;
}

.small-print a {
  color: var(--cyan);
}

.legal-article {
  max-width: 820px;
}

.legal-article section {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}

.legal-article section p,
.legal-article section li {
  color: var(--muted);
}

.legal-article section p:last-child {
  margin-bottom: 0;
}

.legal-article section a {
  color: var(--cyan);
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 8px;
}

.callout {
  padding: 20px 22px;
  border: 1px solid rgba(17, 127, 174, 0.18);
  border-radius: 20px;
  background: var(--wash);
  color: var(--ink) !important;
  font-weight: 700;
}

.back-link {
  margin-top: 14px;
}

footer {
  display: flex;
  padding: 54px max(24px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.copyright {
  margin-left: auto;
}

@media (max-width: 840px) {
  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 60%, rgba(255, 255, 255, 0.2) 100%),
      url("/tidehold/og-tidehold.png") 60% center / cover no-repeat;
  }

  .hero-copy { padding-top: 88px; }
  .hero-orb { right: 12%; bottom: 8%; width: 130px; height: 130px; }
  .card-grid, .faq-grid, .safety-band { grid-template-columns: 1fr; }
  .safety-band { gap: 26px; }
  .info-card { min-height: auto; }
  .contact-card, footer { align-items: flex-start; flex-direction: column; }
  .copyright { margin-left: 0; }
}

@media (max-width: 560px) {
  .nav { width: min(100% - 32px, 1180px); }
  .nav nav { gap: 13px; }
  .nav nav a { font-size: 0.76rem; }
  .brand { gap: 7px; font-size: 1.08rem; }
  .brand-mark { width: 29px; height: 29px; }
  .hero-copy, .page-hero-copy, .content-section, .article-section, .legal-article { width: min(100% - 32px, 1120px); }
  .hero-copy { padding-top: 78px; }
  .hero h1 { font-size: clamp(2.72rem, 14vw, 4rem); }
  .trust-strip { align-items: flex-start; flex-direction: column; gap: 11px; }
  .content-section, .article-section, .legal-article { padding: 78px 0; }
  .page-hero { min-height: 520px; }
  .page-hero-copy { padding: 68px 0 90px; }
  .info-card, .faq-card, .contact-card { padding: 25px; border-radius: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-orb { animation: none; }
  .button { transition: none; }
}
