:root {
  --tone-ink: #040D12;
  --tone-deep: #183D3D;
  --tone-moss: #5C8374;
  --tone-fog: #93B1A6;
  --tone-paper: #eef4f2;
  --font-display: "Syne", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --size-xxs: 0.75rem;
  --size-xs: 0.86rem;
  --size-sm: 0.95rem;
  --size-md: 1.1rem;
  --size-lg: 1.55rem;
  --size-xl: 2.2rem;
  --space-xs: 0.5rem;
  --space-sm: 0.8rem;
  --space-md: 1.2rem;
  --space-lg: 2rem;
  --space-xl: 3.2rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
  --shadow-soft: 0 0.65rem 1.8rem rgba(4, 13, 18, 0.14);
  --line-fade: 1px solid rgba(147, 177, 166, 0.28);
  --ease-core: 260ms ease;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: var(--size-sm); line-height: 1.45; color: var(--tone-ink); background: radial-gradient(circle at 20% 10%, #f7fbfa 0%, #e8efec 60%, #dde8e4 100%); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.15; letter-spacing: 0.02em; margin: 0 0 var(--space-sm); }
p { margin: 0 0 var(--space-sm); }
img, iframe, canvas { max-width: 100%; }
input, textarea, button { min-width: 0; }
.site-shell, .legal-shell, .policy-pop, .basic-header, .site-nav, .photo-frame, .product-bloc, .contact-card, .thanks-panel { overflow-wrap: anywhere; }
.site-shell { width: min(96%, 72rem); margin: 0 auto; padding: var(--space-md) 0 var(--space-lg); }
.basic-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-lg); background: #ffffff; border: var(--line-fade); border-radius: 0.75rem; padding: 0.7rem 0.9rem; position: relative; z-index: 120; }
.brand-mark { font-family: var(--font-display); font-size: var(--size-md); font-weight: 800; color: var(--tone-ink); }
.menu-toggle { border: none; background: var(--tone-ink); color: #fff; width: 2.2rem; height: 2.2rem; border-radius: 0.5rem; display: none; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: var(--space-sm); }
.site-nav a { padding: 0.42rem 0.7rem; border-radius: 0.45rem; transition: var(--ease-core); }
.site-nav a:hover { background: rgba(92, 131, 116, 0.2); }
.hero-flow { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-md); align-items: center; margin-bottom: var(--space-xl); }
.hero-copy h1 { font-size: clamp(1.6rem, 2.8vw, 2.8rem); }
.mini-tag { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 2rem; background: rgba(24, 61, 61, 0.12); font-size: var(--size-xxs); }
.action-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.solid-link, .ghost-link, button.solid-link { display: inline-flex; align-items: center; justify-content: center; border-radius: 2rem; padding: 0.46rem 0.9rem; border: var(--line-fade); font-size: var(--size-xs); cursor: pointer; transition: var(--ease-core); }
.solid-link { background: var(--tone-ink); color: #fff; border-color: var(--tone-ink); }
.ghost-link { background: rgba(255,255,255,0.55); }
.hero-visual { min-height: 18rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transform: rotate(-1.5deg); }
#signal-canvas { width: 100%; height: 100%; display: block; background: linear-gradient(135deg, #040D12, #183D3D 44%, #5C8374 100%); }
.wave-panel, .map-panel, .contact-tease, .slant-hero, .offset-strip, .timeline-swirl, .cta-pocket, .contact-hero, .contact-map, .contact-angle, .contact-last, .legal-head { background: rgba(255,255,255,0.66); border: var(--line-fade); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-lg); box-shadow: var(--shadow-soft); }
.trail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.trail-card { background: #fff; border-radius: var(--radius-sm); padding: var(--space-sm); border: var(--line-fade); }
.photo-ribbon { margin-bottom: var(--space-xl); }
.photo-stack { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.photo-frame { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); width: min(21rem, 92%); margin: 0 -0.9rem; padding: 0.5rem; }
.photo-frame img { width: 100%; height: auto; border-radius: 0.7rem; display: block; }
.photo-frame figcaption { font-size: var(--size-xxs); margin-top: 0.3rem; }
.tilt-a { transform: rotate(-3deg) translateY(0.7rem); }
.tilt-b { transform: rotate(1.5deg) translateY(-0.2rem); }
.tilt-c { transform: rotate(3.2deg) translateY(0.8rem); }
.angle-panel { margin-bottom: var(--space-lg); background: linear-gradient(176deg, rgba(24, 61, 61, 0.1) 0 49%, rgba(255,255,255,0.78) 49% 100%); border-radius: var(--radius-md); border: var(--line-fade); padding: var(--space-md); }
.signal-list { padding-left: 1rem; margin: 0; display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; }
.map-panel iframe, .contact-map iframe { width: 100%; border: 0; border-radius: 0.8rem; }
.mini-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); font-size: var(--size-xxs); border-top: var(--line-fade); padding-top: var(--space-sm); }
.mini-foot nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.policy-pop { position: fixed; right: 1rem; bottom: 1rem; max-width: 20rem; background: #fff; border: var(--line-fade); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 0.9rem; z-index: 20; }
.policy-pop div { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.product-lattice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
.product-bloc:nth-child(1) { transform: translateX(-0.8rem); }
.product-bloc:nth-child(2) { transform: translateY(1rem); }
.product-bloc:nth-child(3) { transform: translateX(0.9rem); }
.product-bloc { background: rgba(255,255,255,0.7); border: var(--line-fade); border-radius: var(--radius-md); padding: var(--space-md); }
.price-mark { font-weight: 700; font-family: var(--font-display); }
.review-flow { display: flex; flex-direction: column; gap: var(--space-sm); }
.review-flow blockquote { margin: 0; padding: 0.8rem; border-left: 0.25rem solid var(--tone-moss); background: rgba(255,255,255,0.8); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.contact-weave { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-card { background: rgba(255,255,255,0.72); border: var(--line-fade); border-radius: var(--radius-md); padding: var(--space-md); }
.contact-form-shell { margin: calc(var(--space-lg) * -0.3) 0 var(--space-lg); background: linear-gradient(158deg, rgba(147, 177, 166, 0.22), rgba(255,255,255,0.84)); border: var(--line-fade); border-radius: var(--radius-md); padding: var(--space-md); }
.signal-form { display: grid; gap: 0.5rem; max-width: 34rem; }
.signal-form input, .signal-form textarea {  border: var(--line-fade); border-radius: 0.5rem; padding: 0.58rem 0.65rem; font: inherit; background: rgba(255,255,255,0.95); }
.consent-row { display: flex; align-items: center; gap: 0.4rem; font-size: var(--size-xxs); }
.contact-last { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.legal-shell { width: min(94%, 64rem); }
.legal-block { background: rgba(255,255,255,0.73); border: var(--line-fade); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); }
.thanks-shell { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
.thanks-panel { background: rgba(255,255,255,0.78); border: var(--line-fade); border-radius: var(--radius-lg); padding: var(--space-lg); text-align: center; box-shadow: var(--shadow-soft); }
@media (max-width: 1200px) {
  .site-shell { width: min(95%, 66rem); }
  .hero-visual { min-height: 16rem; }
}
@media (max-width: 1024px) {
  .site-shell { width: min(95%, 60rem); }
  .hero-flow { grid-template-columns: 1fr; }
  .trail-grid { grid-template-columns: repeat(2, 1fr); }
  .product-lattice, .contact-weave { grid-template-columns: 1fr; }
  .product-bloc:nth-child(1), .product-bloc:nth-child(2), .product-bloc:nth-child(3) { transform: none; }
  .photo-frame { margin: 0; }
}
@media (max-width: 900px) {
  .basic-header { padding: 0.62rem 0.7rem; }
  .trail-grid { grid-template-columns: 1fr; }
  .hero-visual { transform: none; min-height: 14rem; }
  .tilt-a, .tilt-b, .tilt-c { transform: none; }
}
@media (max-width: 768px) {
  :root { --space-lg: 1.6rem; --space-md: 1rem; --size-sm: 0.92rem; --size-md: 1rem; --size-lg: 1.4rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: fixed; inset: 0; z-index: 9999; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: rgba(4, 13, 18, 0.96); border: 0; border-radius: 0; padding: 1.2rem; min-width: 0; max-width: none; opacity: 1; transform: none; pointer-events: auto; transition: var(--ease-core); }
  .site-nav.nav-live { display: flex; }
  .site-nav a { color: #eef4f2; font-size: 1.1rem; }
  .basic-header { position: relative; border-radius: 0.7rem; }
  .menu-toggle { position: relative; z-index: 10000; }
  .action-row, .contact-last, .mini-foot nav { gap: 0.5rem; }
}
@media (max-width: 600px) {
  .site-shell, .legal-shell { width: 94%; }
  .mini-foot { justify-content: center; text-align: center; }
  .policy-pop { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; max-width: none; }
  .signal-list { gap: 0.5rem 1rem; padding-left: 0.9rem; }
  .photo-frame { width: 100%; }
  .thanks-panel { padding: var(--space-md); }
}
@media (max-width: 480px) {
  :root { --space-sm: 0.65rem; --space-md: 0.9rem; --size-xs: 0.82rem; --size-sm: 0.88rem; }
  .site-shell, .legal-shell { width: 95%; }
  .hero-copy h1 { font-size: 1.35rem; }
  .solid-link, .ghost-link, button.solid-link { width: 100%; }
  .action-row { display: grid; grid-template-columns: 1fr; }
  .site-nav a { font-size: 1rem; }
}
@media (max-width: 375px) {
  .basic-header { padding-left: 0.65rem; padding-right: 0.45rem; }
  .brand-mark { font-size: 0.98rem; }
  .contact-form-shell, .wave-panel, .map-panel, .contact-tease, .slant-hero, .offset-strip, .timeline-swirl, .cta-pocket, .contact-hero, .contact-map, .contact-angle, .contact-last, .legal-head, .legal-block { padding: 0.8rem; }
}
@media (max-width: 320px) {
  :root { --size-xxs: 0.69rem; --size-xs: 0.76rem; --size-sm: 0.8rem; --size-md: 0.92rem; --space-xs: 0.4rem; --space-sm: 0.55rem; --space-md: 0.75rem; --space-lg: 1.15rem; --radius-md: 0.75rem; }
  body { font-size: var(--size-sm); }
  .site-shell, .legal-shell { width: 96%; padding-top: var(--space-sm); }
  .hero-copy h1 { font-size: 1.2rem; }
  .basic-header { margin-bottom: var(--space-md); border-radius: 0.65rem; }
  .menu-toggle { width: 1.95rem; height: 1.95rem; }
  .policy-pop { left: 0.3rem; right: 0.3rem; bottom: 0.3rem; padding: 0.65rem; }
}
