:root {
  --bg: #f4f1ed;
  --surface: #fcfbf9;
  --text: #1b2731;
  --muted: #5a6876;
  --navy: #1f3a56;
  --navy-2: #2a4f74;
  --accent: #7f9ec4;
  --line: #d9d2ca;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(37, 33, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--navy-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: #ede8e2;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.section-intro {
  max-width: 62ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(252, 251, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}

.nav-toggle {
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.primary-nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 1rem 4%;
  background: #fcfbf9;
  border-bottom: 1px solid var(--line);
}

.primary-nav.open {
  display: flex;
}

.primary-nav a {
  padding: 0.5rem 0;
  text-decoration: none;
  font-weight: 600;
  flex-shrink: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 3.8rem;
  color: var(--text);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.64), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(216, 210, 202, 0.36), transparent 36%),
    linear-gradient(180deg, #efede9 0%, #ebe7e2 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.eyebrow {
  font-weight: 700;
  color: #516178;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  margin: 0 auto;
}

.hero-title {
  margin: 1.2rem auto 1rem;
  max-width: 17ch;
  color: #102235;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.hero-showcase {
  position: relative;
  width: min(92vw, 760px);
  margin: 0 auto;
  min-height: clamp(280px, 52vw, 480px);
  border: 1px solid rgba(104, 111, 121, 0.22);
  border-radius: 28px;
  background: #d9d5d0;
  overflow: visible;
  box-shadow: 0 22px 46px rgba(38, 36, 31, 0.14);
}

.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(80, 84, 90, 0.2);
}

.hero-showcase::before {
  top: 16%;
}

.hero-showcase::after {
  bottom: 17%;
}

.showcase-brand {
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  margin: 0;
  font-family: "Bodoni MT", "Didot", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: rgba(15, 19, 22, 0.9);
}

.hero-object-wrap {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.showcase-word {
  position: absolute;
  color: #06090d;
  line-height: 0.9;
  pointer-events: none;
  max-width: 92%;
  white-space: nowrap;
  z-index: 5;
}

.word-small {
  font-family: "Times New Roman", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
}

.word-big {
  font-family: "Bodoni MT", "Didot", Georgia, serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 7.3vw, 5.9rem);
}

.word-a {
  left: 21%;
  top: 18%;
}

.word-b {
  left: 18%;
  top: 30%;
}

.word-c {
  left: 50%;
  top: 51%;
}

.word-d {
  left: 44%;
  top: 58%;
}

.hero-object {
  position: absolute;
  width: clamp(170px, 34vw, 330px);
  height: clamp(170px, 34vw, 330px);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.12), rgba(242, 235, 227, 0.05) 58%, rgba(188, 168, 153, 0.04) 80%);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(56, 49, 44, 0.26),
    0 16px 34px rgba(75, 60, 50, 0.16);
  animation: object-rotate 14s ease-in-out infinite;
}

.hero-object-rings {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(57, 50, 45, 0.18) 0 1px, transparent 1px 15px);
  opacity: 0.92;
  animation: rings-shift 12s ease-in-out infinite;
}

.hero-object-rings::before,
.hero-object-rings::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(57, 50, 45, 0.26);
}

.hero-object-rings::before {
  transform: rotate(28deg) scaleX(0.48);
  box-shadow:
    -36px 0 0 -1px rgba(57, 50, 45, 0.2),
    36px 0 0 -1px rgba(57, 50, 45, 0.2),
    -72px 0 0 -1px rgba(57, 50, 45, 0.16),
    72px 0 0 -1px rgba(57, 50, 45, 0.16);
}

.hero-object-rings::after {
  transform: rotate(-28deg) scaleX(0.48);
  box-shadow:
    -36px 0 0 -1px rgba(57, 50, 45, 0.2),
    36px 0 0 -1px rgba(57, 50, 45, 0.2);
}

.hero-object-shadow {
  position: absolute;
  inset: auto 16% -22% 16%;
  height: 26%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(46, 35, 30, 0.34), rgba(46, 35, 30, 0) 70%);
  filter: blur(3px);
}

.showcase-note {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  margin: 0;
  font-family: "Times New Roman", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(12, 16, 20, 0.9);
}

@keyframes object-rotate {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-8deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(7deg);
  }
}

@keyframes rings-shift {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(-2%) scale(1.03);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.hero .cta-row {
  justify-content: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  background: #244566;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background: #2e567f;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(36, 69, 102, 0.22);
}

.btn-secondary {
  background: #f8f5f1;
  color: #264664;
  border: 1px solid var(--line);
}

.btn-small {
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-nav .btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-badges {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
}

.hero .trust-badges {
  justify-content: center;
}

.trust-badges li {
  background: #f8f5f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.92rem;
}


.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section h2 {
  color: #1f3244;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(10px);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.example-card {
  padding: 0.85rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  --preview-height: clamp(190px, 26vw, 300px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 33, 28, 0.13);
}

.preview-trigger {
  width: 100%;
  height: var(--preview-height);
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f2ede8;
  cursor: pointer;
}

.text-cover {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 1.1rem;
  background: linear-gradient(160deg, #f7f4f0, #ece7e1);
}

.text-cover p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b3f56;
}

.text-cover p::before {
  content: "• ";
  color: #264664;
}

.example-card h3 {
  margin: 0.8rem 0 0.35rem;
}

.example-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.preview-toggle {
  padding: 0.62rem 1rem;
}

.example-link {
  font-weight: 700;
  text-decoration: none;
}

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

.example-preview {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  height: var(--preview-height);
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f8f5f1;
  z-index: 4;
}

.example-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.example-card.preview-open .preview-trigger {
  opacity: 0;
  pointer-events: none;
}

.pricing-card {
  padding: 1.2rem;
}

.pricing-card ul {
  padding-left: 1rem;
}

.featured {
  border: 1px solid #9eb3c9;
  box-shadow: 0 14px 30px rgba(57, 75, 93, 0.14);
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #244566;
  background: rgba(127, 158, 196, 0.24);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.price {
  font-size: 1.8rem;
  margin: 0.2rem 0 0.7rem;
  font-weight: 800;
}

.disclaimer {
  color: var(--muted);
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: 1rem;
}

.feature-list {
  padding-left: 1.2rem;
}

.side-note {
  padding: 1.2rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-step {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #254768;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.faq-wrap details {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
}

.faq-wrap summary {
  cursor: pointer;
  font-weight: 700;
}

.contact-direct {
  list-style: none;
  padding: 0;
}

.contact-direct li {
  margin-bottom: 0.4rem;
}

.contact-form {
  padding: 1.15rem;
  background: #fbfaf8;
}

.form-row {
  margin-bottom: 0.85rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c6bdb4;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fdfcfb;
  color: var(--text);
}

.error {
  display: block;
  min-height: 1.2rem;
  color: #9b1d1d;
  font-size: 0.85rem;
}

input.invalid,
textarea.invalid {
  border-color: #bf2d2d;
}

.form-status {
  margin: 0.8rem 0 0;
  font-weight: 600;
}

.form-status.success {
  color: #0d6e3e;
}

.form-status.error {
  color: #9b1d1d;
}

.site-footer {
  background: #1f252c;
  color: #e8e3db;
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: #c4d4e7;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #244566;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

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

  .hero-showcase {
    min-height: clamp(340px, 44vw, 540px);
  }

  .showcase-note {
    left: 1.4rem;
    bottom: 1.25rem;
  }

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

  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
  }

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

@media (max-width: 640px) {
  .word-a {
    left: 18%;
    top: 16%;
  }

  .word-b {
    left: 16%;
    top: 30%;
  }

  .word-c {
    left: 45%;
    top: 52%;
  }

  .word-d {
    left: 35%;
    top: 60%;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 4.3rem;
  }

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

  .section {
    padding: 5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
