* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --page-bg: #f7f7f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #151516;
  --muted: #77777d;
  --soft: #a1a1a8;
  --line: rgba(21, 21, 22, 0.10);
  --blue: #0a66c2;
  --blue-dark: #064c91;
  --green: #257a4f;
  --shadow: 0 22px 70px rgba(15, 15, 16, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

html {
  background: var(--page-bg);
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f8 54%, #ffffff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  margin: 0 auto;
  padding: 8px 0;
  border-bottom: 1px solid rgba(21, 21, 22, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.brand-link,
.nav-links,
.hero-actions,
.legal-footer {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 10px;
  flex: 0 0 auto;
  margin-left: clamp(-72px, -4vw, -28px);
  padding: 4px 10px 4px 0;
  color: #111113;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  border-radius: 18px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.brand-link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.brand-link img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.nav-links {
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(21, 21, 22, 0.05);
}

.nav-links a.language-link {
  min-width: 36px;
  padding-right: 10px;
  padding-left: 10px;
  color: var(--text);
  background: rgba(21, 21, 22, 0.05);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 430px);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  min-height: calc(100vh - 92px);
  padding: 42px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.legal-hero h1 {
  margin: 0;
  color: var(--text);
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(3.55rem, 6.1vw, 5.85rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.85vw, 1.34rem);
  line-height: 1.72;
  font-weight: 520;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 680;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-button {
  color: #ffffff;
  background: #257a4f;
  box-shadow: 0 14px 34px rgba(37, 122, 79, 0.24);
}

.primary-button:hover {
  background: #1f6843;
  transform: translateY(-1px);
}

.secondary-button {
  color: #151516;
  background: transparent;
  border: 1px solid var(--line);
}

.secondary-button:hover {
  border-color: rgba(21, 21, 22, 0.26);
  background: rgba(21, 21, 22, 0.04);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: min(100%, 430px);
  padding: 14px;
  border: 1px solid rgba(21, 21, 22, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screen-bar {
  display: flex;
  gap: 7px;
  padding: 15px 16px 4px;
}

.screen-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7c7cc;
}

.calendar-preview,
.share-preview,
.app-preview {
  padding: 26px;
  border-radius: 22px;
}

.share-preview {
  background: #121214;
  color: #ffffff;
}

.app-preview {
  background: #f6f7f8;
  color: #151516;
}

.preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-header strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 680;
}

.preview-header small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-header > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1d6a45;
  background: rgba(37, 122, 79, 0.12);
  font-size: 0.75rem;
  font-weight: 760;
}

.share-preview .preview-header small,
.time-row span {
  color: rgba(255, 255, 255, 0.56);
}

.preview-panel-label {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.app-preview > .preview-panel-label:first-child {
  margin-top: 0;
}

.message-label {
  margin-top: 16px;
}

.akimiru-panel {
  padding: 12px;
  border: 1px solid rgba(21, 21, 22, 0.10);
  border-radius: 16px;
  background: #ffffff;
}

.akimiru-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.akimiru-filters div {
  min-height: 54px;
  padding: 10px;
  border-radius: 10px;
  background: #f6f7f8;
}

.akimiru-filters span,
.akimiru-result-head span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
}

.akimiru-filters b {
  display: block;
  margin-top: 7px;
  color: #151516;
  font-size: 0.78rem;
  font-weight: 760;
}

.akimiru-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 7px;
}

.akimiru-result-head b {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 760;
}

.akimiru-slots {
  display: grid;
  gap: 7px;
}

.akimiru-slots div {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid rgba(37, 122, 79, 0.22);
  border-radius: 10px;
  background: #f4fbf7;
}

.akimiru-slots time {
  color: #3d3d41;
  font-size: 0.75rem;
  font-weight: 760;
}

.akimiru-slots span {
  color: #1f5f40;
  font-size: 0.8rem;
  font-weight: 760;
}

.akimiru-panel button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid rgba(21, 21, 22, 0.16);
  border-radius: 999px;
  color: #151516;
  background: #ffffff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 760;
}

.chat-preview {
  padding: 14px;
  border: 1px solid rgba(21, 21, 22, 0.10);
  border-radius: 16px;
  background: #e9edf1;
}

.chat-bubble {
  width: min(100%, 315px);
  margin-left: auto;
  padding: 14px;
  border-radius: 18px 18px 4px 18px;
  background: #257a4f;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(37, 122, 79, 0.18);
}

.chat-bubble.incoming {
  width: fit-content;
  max-width: min(100%, 285px);
  margin: 0 0 10px;
  border-radius: 18px 18px 18px 4px;
  background: #ffffff;
  color: #151516;
  box-shadow: none;
}

.chat-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.chat-bubble.incoming p {
  color: #242426;
}

.chat-bubble p + p {
  margin-top: 7px;
}

.chat-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 9px 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.chat-compose b {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: #151516;
  font-size: 0.82rem;
  font-weight: 700;
}

.time-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  min-height: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.92rem;
}

.time-row b {
  display: block;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 620;
}

.time-row.busy b {
  color: #c8d1dc;
  background: rgba(255, 255, 255, 0.10);
}

.time-row.open b {
  color: #eafff2;
  background: rgba(37, 122, 79, 0.76);
}

.message-bubble {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.message-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.91rem;
  font-weight: 520;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.message-bubble p + p {
  margin-top: 8px;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.app-preview .copy-row {
  margin-top: 14px;
  padding: 12px 0 0;
  border-top-color: rgba(21, 21, 22, 0.10);
  color: var(--muted);
}

.copy-row b {
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(37, 122, 79, 0.76);
  font-size: 0.78rem;
  font-weight: 680;
}

.app-preview .copy-row b {
  color: #ffffff;
  background: #151516;
}

.steps-band {
  padding: 18px 0 62px;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.steps-grid article {
  min-height: 178px;
  padding: 26px;
  border: 1px solid rgba(21, 21, 22, 0.14);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 12px 34px rgba(15, 15, 16, 0.05);
}

.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #151516;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 760;
}

.steps-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: 0;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.feature-section {
  padding: 58px 0 26px;
  border-top: 1px solid rgba(21, 21, 22, 0.10);
}

.feature-intro {
  max-width: 640px;
}

.feature-intro h2 {
  font-size: clamp(1.85rem, 3.7vw, 3rem);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
}

.feature-band article {
  min-height: 224px;
  padding: 30px;
  border: 1px solid rgba(21, 21, 22, 0.14);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 12px 34px rgba(15, 15, 16, 0.05);
}

.feature-band span {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 760;
}

.feature-band h2 {
  margin: 48px 0 12px;
  font-size: 1.46rem;
  font-weight: 700;
  letter-spacing: 0;
}

.feature-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.76;
}

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 92px;
  padding: clamp(26px, 4.5vw, 42px);
  border: 1px solid rgba(21, 21, 22, 0.12);
  border-radius: 8px;
  background: #151516;
  color: #ffffff;
}

.bottom-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: 0;
}

.bottom-cta p {
  max-width: 610px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.72;
}

.bottom-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bottom-cta .primary-button {
  color: #151516;
  background: #ffffff;
  box-shadow: none;
}

.bottom-cta .primary-button:hover {
  background: #f0f0f2;
}

.bottom-cta .secondary-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.bottom-cta .secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.legal-shell {
  max-width: 920px;
  padding-bottom: 96px;
}

.legal-hero {
  padding: 94px 0 52px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.02;
}

.legal-hero p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 520;
}

.legal-document {
  padding: clamp(30px, 5.5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.legal-document h2 {
  margin: 48px 0 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.13rem, 1.8vw, 1.38rem);
  font-weight: 700;
  letter-spacing: 0;
}

.legal-document h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-document p,
.legal-document li {
  color: #3d3d41;
  font-size: 1rem;
  line-height: 1.92;
  overflow-wrap: anywhere;
}

.legal-document ol {
  padding-left: 1.35rem;
}

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

.legal-footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.text-link {
  color: var(--muted);
  font-weight: 620;
}

.text-link:hover {
  color: var(--blue);
}

@media (max-width: 1020px) {
  .hero-section,
  .steps-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps-band {
    padding-bottom: 54px;
  }

  .feature-section {
    padding-top: 46px;
  }

  .bottom-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .bottom-cta-actions {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(3.15rem, 11vw, 5.1rem);
    line-height: 1.02;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-visual {
    justify-content: stretch;
    min-width: 0;
  }

  .device-frame {
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .brand-link {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
    max-width: 100vw;
    padding-right: 12px;
    padding-left: 12px;
    overflow: hidden;
  }

  .hero-section,
  .hero-copy,
  .hero-visual,
  .steps-band,
  .feature-section,
  .bottom-cta {
    max-width: 100%;
    min-width: 0;
  }

  .site-nav {
    top: 8px;
    min-height: 76px;
    padding: 6px 0;
    gap: 8px;
  }

  .brand-link {
    min-width: 0;
    padding-right: 4px;
  }

  .brand-link img {
    width: 58px;
    height: 58px;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .nav-links a {
    padding: 7px 5px;
    font-size: 0.74rem;
  }

  .nav-links a:not(.language-link) {
    display: none;
  }

  .hero-section {
    gap: 34px;
    padding: 32px 0 48px;
  }

  .eyebrow {
    font-size: 0.76rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.08rem, 9.6vw, 2.78rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-lead {
    max-width: calc(100vw - 32px);
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .calendar-preview,
  .share-preview,
  .app-preview {
    padding: 20px;
    border-radius: 16px;
    min-width: 0;
  }

  .akimiru-filters,
  .akimiru-slots div {
    grid-template-columns: 1fr;
  }

  .akimiru-panel,
  .chat-preview,
  .chat-compose {
    max-width: 100%;
    min-width: 0;
  }

  .akimiru-result-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .chat-bubble {
    width: 100%;
  }

  .chat-compose {
    min-width: 0;
  }

  .chat-compose span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chat-compose b {
    display: none;
  }

  .message-bubble {
    padding: 15px;
  }

  .message-bubble p {
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .device-frame {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 22px;
    box-shadow: 0 18px 52px rgba(15, 15, 16, 0.08);
  }

  .time-row {
    grid-template-columns: 50px 1fr;
    min-height: 48px;
    font-size: 0.84rem;
  }

  .time-row b {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .steps-grid article {
    min-height: auto;
    padding: 24px;
  }

  .section-intro h2 {
    max-width: calc(100vw - 24px);
    font-size: 1.62rem;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .steps-grid h3,
  .feature-band h2,
  .bottom-cta h2,
  .steps-grid p,
  .feature-band p,
  .bottom-cta p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  [lang="en"] .hero-lead,
  [lang="en"] .section-intro h2,
  [lang="en"] .steps-grid h3,
  [lang="en"] .feature-band h2,
  [lang="en"] .bottom-cta h2,
  [lang="en"] .steps-grid p,
  [lang="en"] .feature-band p,
  [lang="en"] .bottom-cta p {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .feature-section {
    padding-top: 38px;
  }

  .section-intro {
    text-align: left;
  }

  .feature-band article {
    min-height: 184px;
    padding: 24px;
    border-radius: 8px;
  }

  .bottom-cta {
    margin-bottom: 58px;
  }

  .bottom-cta-actions {
    flex-direction: column;
  }

  .legal-hero {
    padding: 64px 0 34px;
  }

  .legal-document {
    border-radius: 8px;
  }
}

@media (max-width: 390px) {
  .site-shell {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand-link img {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 5px;
    font-size: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.24rem, 12vw, 2.85rem);
    line-height: 1.08;
  }

  .primary-button,
  .secondary-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.94rem;
  }

  .feature-band article {
    min-height: auto;
  }

  .legal-document {
    padding: 22px 18px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 0.95rem;
    line-height: 1.85;
  }
}

@media (max-width: 340px) {
  .site-shell {
    width: min(100% - 14px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2.06rem;
  }

  .hero-lead {
    font-size: 0.94rem;
  }

  .nav-links a {
    padding: 7px 6px;
  }
}
