:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --text: #222222;
  --muted: #7c7c7c;
  --accent: #b89b72;
  --accent-hover: #9f845e;
  --accent-soft: #dccfbf;
  --line: rgba(34, 34, 34, 0.1);
  --shadow: 0 28px 80px rgba(62, 50, 36, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
summary {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(48, 40, 30, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a,
.login-link,
.footer-grid a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.login-link:hover,
.footer-grid a:hover {
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(184, 155, 114, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 18px 36px rgba(159, 132, 94, 0.3);
}

.btn-secondary {
  border-color: rgba(34, 34, 34, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(184, 155, 114, 0.45);
  background: #ffffff;
}

.btn-danger {
  border-color: rgba(156, 68, 57, 0.22);
  background: #fff7f5;
  color: #9c4439;
}

.btn-danger:hover {
  background: #ffecea;
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(248, 246, 242, 1), rgba(238, 230, 218, 0.72)),
    var(--bg);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(184, 155, 114, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 155, 114, 0.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black 22%, black 74%, transparent);
}

.hero {
  min-height: 100vh;
  padding: 112px 0 62px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: calc(100vh - 204px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.2vw, 68px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 44px);
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #565656;
  font-size: clamp(15px, 1.25vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-product {
  perspective: 1200px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  backdrop-filter: blur(18px);
}

.browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 10px) 1fr;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.browser-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.wedding-site-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.wedding-site-preview img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 58% 50%;
}

.preview-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
}

.preview-date {
  margin-bottom: 8px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-overlay h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

.countdown {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: baseline;
  gap: 6px;
}

.countdown strong {
  font-size: 30px;
}

.countdown span {
  color: var(--muted);
  font-size: 13px;
}

.preview-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.preview-dashboard article {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.preview-dashboard span,
.feature-icon,
.board-column p,
.timeline-card p,
.metric-row p,
.dashboard-list p,
.template-card a,
.vendor-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-dashboard strong {
  display: block;
  margin: 6px 0;
  font-size: 22px;
}

.preview-dashboard p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.swatches {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}

.swatches i {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(34, 34, 34, 0.1);
  border-radius: 50%;
}

.swatches i:nth-child(1) { background: #f7f0e6; }
.swatches i:nth-child(2) { background: #9ea88e; }
.swatches i:nth-child(3) { background: #c0a777; }

.section-pad {
  padding: clamp(82px, 9vw, 138px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.step-card,
.compare-card,
.template-card,
.pricing-card,
details,
.vendor-grid article {
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(60, 50, 38, 0.05);
}

.feature-card {
  min-height: 234px;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.template-card:hover,
.vendor-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(60, 50, 38, 0.11);
}

.feature-icon {
  margin-bottom: 38px;
  color: var(--accent-hover);
}

.feature-card p,
.step-card p,
.compare-card li,
.why-copy li,
.dashboard-copy p,
.partners-copy p,
details p,
.final-cta p {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.reversed {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.interface-card,
.dashboard-mock {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56)),
    var(--surface);
  box-shadow: var(--shadow);
}

.interface-card {
  padding: 20px;
}

.mini-toolbar {
  display: flex;
  gap: 8px;
  padding: 4px 0 18px;
}

.mini-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.planning-board {
  display: grid;
  gap: 14px;
}

.board-column {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.board-column strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.board-column span,
.timeline-card div p {
  color: var(--muted);
}

.timeline-card {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: #2b2926;
  color: #ffffff;
}

.timeline-card > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.timeline-card div p,
.timeline-card div strong {
  margin: 0;
}

.check-list,
.compare-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li,
.compare-card li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.compare-card li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-hover);
  content: "✓";
  font-weight: 800;
}

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-grid::before {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  content: "";
}

.step-card {
  position: relative;
  padding: 30px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--text);
  color: #ffffff;
  font-weight: 700;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-controls button:hover {
  background: var(--text);
  color: #ffffff;
}

.template-slider {
  display: grid;
  grid-auto-columns: minmax(260px, 340px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.template-card {
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.template-preview {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.template-preview.modern {
  background:
    linear-gradient(rgba(34, 34, 34, 0.1), rgba(34, 34, 34, 0.24)),
    url("assets/wedivo-couple.png") center / cover;
}

.template-preview.elegant {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(220, 207, 191, 0.35)),
    url("assets/wedivo-couple.png") 58% 50% / cover;
  background-blend-mode: screen, normal;
}

.template-preview.botanical {
  background:
    linear-gradient(135deg, rgba(55, 73, 58, 0.5), rgba(255, 255, 255, 0.1)),
    url("assets/wedivo-couple.png") 42% 50% / cover;
}

.template-preview.minimal {
  background:
    linear-gradient(90deg, rgba(248, 246, 242, 0.92) 0 38%, rgba(248, 246, 242, 0) 38%),
    url("assets/wedivo-couple.png") center / cover;
}

.template-preview.luxury {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.05), rgba(25, 24, 22, 0.62)),
    url("assets/wedivo-couple.png") 62% 50% / cover;
}

.template-preview.editorial,
.template-preview.editorial-estate,
.template-preview.editorial-villa {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(30, 28, 23, 0.2), rgba(30, 28, 23, 0.64)),
    url("assets/wedivo-couple.png") center / cover;
}

.template-preview.editorial::before,
.template-preview.editorial-estate::before,
.template-preview.editorial-villa::before {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 68%;
  height: 8px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  content: "";
}

.template-preview.editorial::after,
.template-preview.editorial-estate::after,
.template-preview.editorial-villa::after {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  color: #ffffff;
  content: "FULLSCREEN INVITATION";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.template-preview.editorial-estate {
  background:
    linear-gradient(90deg, rgba(32, 30, 24, 0.6), rgba(32, 30, 24, 0.18) 45%, rgba(32, 30, 24, 0.54)),
    url("assets/wedivo-couple.png") 35% 50% / cover;
}

.template-preview.editorial-villa {
  background:
    linear-gradient(180deg, rgba(238, 232, 219, 0.08), rgba(25, 24, 20, 0.66)),
    url("assets/wedivo-couple.png") 70% 50% / cover;
}

.template-card h3,
.template-card a {
  margin-left: 22px;
  margin-right: 22px;
}

.template-card h3 {
  margin-top: 22px;
}

.template-card a {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent-hover);
}

.dashboard-mock {
  padding: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row article {
  padding: 20px;
  border-radius: var(--radius);
  background: #ffffff;
}

.metric-row span {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: 700;
}

.metric-row p,
.dashboard-list p {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.donut {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(var(--accent) calc(var(--value) * 1%), var(--accent-soft) 0);
}

.donut span {
  font-size: 34px;
  font-weight: 800;
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: #ffffff;
}

.dashboard-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.compare-card {
  padding: clamp(28px, 4vw, 44px);
}

.compare-card.premium {
  border-color: rgba(184, 155, 114, 0.32);
  background: linear-gradient(145deg, #ffffff, #f5efe7);
}

.compare-card.muted li::before {
  color: #a8a8a8;
  content: "–";
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vendor-grid article {
  min-height: 220px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vendor-grid strong {
  display: block;
  margin: 54px 0 10px;
  font-size: 20px;
}

.vendor-grid p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  padding-top: 0;
}

.pricing .section-heading p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-plan-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(60, 50, 38, 0.05);
}

.pricing-plan-card.is-featured {
  border-color: rgba(184, 155, 114, 0.38);
  background: linear-gradient(145deg, #ffffff, #f7f0e6);
  box-shadow: 0 22px 54px rgba(184, 155, 114, 0.16);
}

.pricing-plan-card.is-loading {
  grid-column: 1 / -1;
  min-height: 180px;
  justify-content: center;
}

.pricing-plan-head {
  display: grid;
  gap: 8px;
}

.pricing-plan-head span {
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-plan-head strong {
  font-size: 25px;
  line-height: 1;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-plan-price strong {
  font-size: 34px;
  line-height: 1;
}

.pricing-plan-price span,
.pricing-plan-card p,
.pricing-plan-card li {
  color: var(--muted);
}

.pricing-plan-card p {
  min-height: 44px;
  margin: 0;
}

.pricing-plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 4px;
  list-style: none;
  font-size: 14px;
}

.pricing-plan-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-plan-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent-hover);
  content: "✓";
  font-weight: 800;
}

.pricing-plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px);
}

.pricing-card h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(26px, 2.8vw, 38px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 0 24px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--accent-hover);
  content: "+";
  font-size: 28px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  padding-bottom: 24px;
}

.final-cta {
  padding-top: 0;
}

.final-cta-inner {
  padding: clamp(52px, 7vw, 88px);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(220, 207, 191, 0.55)),
    var(--accent-soft);
  text-align: center;
}

.final-cta-inner h2 {
  margin-bottom: 14px;
}

.final-cta-inner p:not(.eyebrow) {
  margin-bottom: 28px;
  font-size: 19px;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-grid nav,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid nav {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 80px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid,
  .split-layout,
  .reversed {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .browser-frame {
    transform: none;
  }

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

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 14px;
    height: 72px;
    padding: 0 14px;
  }

  .logo {
    font-size: 25px;
  }

  .login-link {
    display: none;
  }

  .btn-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .main-nav {
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-actions,
  .pricing-card,
  .inline-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .pricing-card .btn,
  .final-cta-inner .btn {
    width: 100%;
  }

  .wedding-site-preview img {
    height: 340px;
  }

  .preview-overlay {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 18px;
  }

  .preview-overlay h2 {
    font-size: 28px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card p {
    min-height: auto;
  }

  .preview-dashboard,
  .feature-grid,
  .step-grid,
  .compare-grid,
  .metric-row,
  .dashboard-body,
  .vendor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .step-grid::before {
    display: none;
  }

  .dashboard-body {
    gap: 14px;
  }

  .donut {
    max-width: 230px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-grid,
  .footer-grid nav {
    justify-items: start;
    justify-content: start;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions .btn {
    max-width: 142px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .section-pad {
    padding: 70px 0;
  }

  .feature-card,
  .step-card,
  .compare-card,
  .pricing-card,
  .final-cta-inner {
    padding: 22px;
  }
}
