:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: #19362d;
  background: #fcfbf7;
  accent-color: #285447;
  --ink: #19362d;
  --muted: #4b6258;
  --paper: #fcfbf7;
  --forest: #244b3e;
  --leaf: #dfeac7;
  --border: #ced9cd;
  --control-border: #5d7468;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-inline-size: 0; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #4c7535; outline-offset: 4px; }
figure, p, h1, h2, h3 { margin: 0; }
ul { padding: 0; margin: 0; }
picture, img { display: block; }
img { max-inline-size: 100%; block-size: auto; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 12px; z-index: 5; translate: 0 -180%; padding: 10px 16px; color: var(--ink); background: white; }
.skip:focus { translate: 0; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid #e1e5dc; background: var(--paper); }
.header-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; min-height: 76px; }
.identity, .wordmark, .main-nav { display: flex; align-items: center; }
.identity { gap: 14px; }
.wordmark { gap: 9px; text-decoration: none; font-size: 23px; font-weight: 780; letter-spacing: -.054em; white-space: nowrap; }
.wordmark-period { margin-inline-start: -.37em; color: #52753a; }
.wordmark-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--forest); }
.wordmark-icon i { position: relative; width: 13px; height: 13px; border-top: 2px solid #e4efcc; border-right: 2px solid #e4efcc; }
.wordmark-icon i::after { position: absolute; content: ""; inset: 4px -1px auto auto; inline-size: 17px; block-size: 2px; rotate: -45deg; background: #e4efcc; }
.beta { font-size: 11px; line-height: 1; font-weight: 730; color: #365331; padding: 6px 8px; border-radius: 99px; background: #e4eed4; white-space: nowrap; }
.main-nav { gap: 7px; }
.main-nav a { min-height: 44px; align-content: center; padding: 8px 12px; border-radius: 7px; font-size: 14px; font-weight: 620; text-decoration: none; }
.main-nav a[aria-current], .main-nav a:hover { background: #edf0e7; }
.language { position: relative; justify-self: end; }
.language summary { cursor: pointer; list-style: none; min-height: 44px; align-content: center; padding: 7px 12px; border: 1px solid var(--control-border); border-radius: 8px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.language summary::-webkit-details-marker { display: none; }
.language summary::after { content: ""; display: inline-block; vertical-align: 3px; margin-inline-start: 9px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; }
.language[open] summary::after { rotate: 225deg; vertical-align: 0; }
.language-list { position: absolute; inset: calc(100% + 7px) 0 auto auto; min-width: 166px; padding: 5px; list-style: none; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); box-shadow: 0 12px 25px #19362d19; }
.language-list a { display: block; min-height: 44px; align-content: center; padding: 7px 10px; border-radius: 5px; font-size: 14px; text-decoration: none; }
.language-list a:hover, .language-list a[aria-current] { background: #edf0e7; }

.hero { background: #e9efe4; border-bottom: 1px solid #dde6da; }
.hero-service { background: #e8efec; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding-block: clamp(48px, 8vw, 108px); }
.hero-copy { padding-block-end: 12px; min-width: 0; }
.hero h1 { font-size: clamp(45px, 5.75vw, 82px); line-height: 1.01; font-weight: 720; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.hero-service h1, .hero-salons h1 { font-size: clamp(42px, 4.8vw, 68px); }
.eyebrow { margin-block-end: 15px; color: #365b48; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-intro { margin-block-start: 24px; max-width: 45ch; color: var(--muted); font-size: clamp(16px, 1.55vw, 19px); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 28px; align-items: flex-start; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7em; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; text-align: center; }
.button-primary { color: #fff; background: var(--forest); }
.button-primary:hover { background: #193a30; }
.button-primary span { font-size: 17px; line-height: 1; }
.button-secondary { border-color: var(--control-border); background: #f9fbf5; }
.button-secondary:hover { background: #fff; }
.demo-action .demo-language { margin-block-start: 5px; color: var(--muted); font-size: 12px; }
.screen { min-width: 0; }
.screen-frame { padding: clamp(6px, 1vw, 12px); border: 1px solid #b3c3b4; border-radius: 16px; background: #d3e1cf; box-shadow: 0 18px 34px #23473419; }
.hero-service .screen-frame { background: #d5e3dd; }
.screen img { width: 100%; border-radius: 8px; background: #f7faf3; }
.screen figcaption { margin-block-start: 11px; font-size: 12px; color: #435e51; text-align: end; }

.section { padding-block: clamp(44px, 6vw, 80px); }
.section h2, .founder h2 { max-width: 28ch; font-size: clamp(28px, 3.25vw, 44px); line-height: 1.13; letter-spacing: -.038em; font-weight: 720; text-wrap: balance; }
.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block-start: 24px; }
.direction { display: flex; justify-content: space-between; align-items: flex-start; gap: 17px; padding: clamp(21px, 3vw, 32px); border: 1px solid #dae2d3; border-radius: 12px; text-decoration: none; background: #f2f5ec; }
.direction-service { background: #edf3f0; }
.direction:hover { border-color: #8ca587; }
.direction span { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 50%; border: 1px solid #afc2ae; font-size: 22px; }
.direction:hover span { background: #dfeac7; }
.direction h3, .features h3 { font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -.035em; line-height: 1.22; }
.direction p, .features p, .marine-intro p, .founder p { margin-block-start: 9px; color: var(--muted); max-width: 60ch; }
.features { display: grid; list-style: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 5vw, 64px); margin-block-start: 22px; border-bottom: 1px solid var(--border); }
.features li { padding-block: 20px; border-top: 1px solid var(--border); }
.checkout { margin-block-start: 22px; padding: 12px 15px; max-width: 72ch; border-left: 3px solid #80aa61; background: #edf2e6; color: var(--ink); }
.marine, .differences { background: #eef3ef; border-block: 1px solid #e0e8e2; }
.marine-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.founder { padding-block: 30px; }
.beta-explanation { margin-block: 0 15px; color: var(--muted); }
.founder-layout { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(25px, 4vw, 52px); border-radius: 13px; background: var(--forest); color: #fff; }
.founder-layout p { color: #e1ebdd; }
.founder-layout strong { min-width: 155px; text-align: center; padding: 12px 17px; color: #2b4631; background: var(--leaf); border-radius: 8px; font-size: clamp(22px, 3vw, 37px); line-height: 1.13; letter-spacing: -.04em; overflow-wrap: anywhere; }
.legal-page { min-height: min(65vh, 620px); padding-block: clamp(58px, 10vw, 120px); }
.legal-page h1 { font-size: clamp(32px, 6vw, 72px); line-height: 1.05; letter-spacing: -.05em; overflow-wrap: anywhere; }
.legal-page p { margin-block-start: 16px; color: var(--muted); font-size: 19px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  max-width: 960px;
  gap: clamp(24px, 6vw, 78px);
  padding-block: clamp(38px, 6vw, 82px);
}
.contact-intro h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 720;
  letter-spacing: -.048em;
  line-height: 1.07;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.contact-intro p { margin-block-start: 12px; color: var(--muted); font-size: 17px; }
.contact-form {
  display: grid;
  min-inline-size: 0;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 28px);
  background: #fff;
}
.contact-form label { font-size: 14px; font-weight: 700; }
.contact-form label:not(:first-of-type) { margin-block-start: 10px; }
.contact-form :is(input, textarea) {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 46px;
  padding: 9px 11px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fcfdf9;
}
.contact-form textarea { resize: vertical; min-block-size: 120px; }
.contact-form [aria-invalid="true"] { border-color: #962a3d; }
.contact-privacy { margin-block: 5px 9px; color: var(--muted); font-size: 14px; }
.contact-form button { justify-self: start; font-family: inherit; cursor: pointer; }
.contact-form button:disabled { cursor: default; opacity: .65; }
.contact-status { min-block-size: 1.55em; margin-block-start: 4px; color: var(--muted); font-size: 14px; }
.contact-status:is([data-state="error"], [data-state="core"], [data-state="network"], [data-state="offline"]) { color: #8a2335; }
.contact-status[data-state="success"] { color: var(--forest); }
.site-footer { margin-block-start: 24px; border-top: 1px solid #e1e5dc; }
.footer-layout { min-height: 110px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-block: 18px; }
.footer-layout nav { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.footer-layout nav a, .footer-contact { font-size: 14px; color: #425b50; }

@media (max-width: 1000px) {
  .wrap { width: min(1200px, calc(100% - 56px)); }
  .header-layout { gap: 10px; }
  .main-nav a { padding-inline: 9px; }
  .identity { gap: 8px; }
}

@media (max-width: 740px) {
  .wrap { width: min(1200px, calc(100% - 36px)); }
  .header-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding-block: 10px 8px; }
  .identity { grid-column: 1; grid-row: 1; }
  .language { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 2px 5px; margin-inline-start: -8px; }
  .main-nav a { font-size: 13px; padding: 6px 8px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 39px 25px; }
  .hero-copy { padding: 0; }
  .hero h1, .hero-service h1, .hero-salons h1 { font-size: clamp(39px, 10.6vw, 59px); line-height: 1.02; text-wrap: initial; }
  .hero-intro { margin-block-start: 16px; }
  .actions { margin-block-start: 21px; }
  .screen { max-width: 570px; }
  .screen figcaption { margin-block-start: 8px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

@media (max-width: 530px) {
  .section { padding-block: 42px; }
  .direction-grid, .features { grid-template-columns: minmax(0, 1fr); }
  .direction-grid { gap: 11px; }
  .founder-layout { flex-direction: column; align-items: flex-start; gap: 19px; }
  .founder-layout strong { min-width: 0; padding-inline: 23px; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
}

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