@font-face {
  font-family: Nunito;
  src: url('/assets/nunito-variable.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Nunito, system-ui, sans-serif;
  color: #344532;
  background: #f8f7f2;
  font-synthesis: none;
  color-scheme: light;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #244e35; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 850; letter-spacing: -.035em; }
p { line-height: 1.65; }
:focus-visible { outline: 3px solid #58775e; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 29px; font-weight: 950; letter-spacing: -1px; text-decoration: none; }
.brand img { flex-shrink: 0; }
.brand-heart { color: #ca9479; align-self: flex-start; margin-left: -5px; font-size: 14px; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 750; }
.main-nav > a { text-decoration: none; }
.language-menu { position: relative; }
.language-menu summary { cursor: pointer; list-style: none; padding: 10px 14px; border: 1px solid #d7dfd2; border-radius: 10px; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary span { margin-left: 9px; }
.languages { position: absolute; right: 0; top: 48px; min-width: 160px; z-index: 5; display: grid; padding: 7px; border: 1px solid #d7dfd2; border-radius: 12px; background: #fffefa; box-shadow: 0 10px 25px #34453212; }
.languages a { padding: 9px 12px; text-decoration: none; border-radius: 7px; }
.languages a:hover, .languages a[aria-current] { background: #e5ebe0; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-block: 72px 96px; }
h1 { font-size: clamp(38px, 4.3vw, 59px); line-height: 1.08; }
.intro { max-width: 490px; margin-block: 25px 30px; font-size: 19px; color: #5d6b5f; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; padding: 16px 23px; border-radius: 12px; font-size: 17px; font-weight: 800; text-decoration: none; min-height: 54px; }
.button.primary { background: #4e6b56; color: white; box-shadow: 0 4px 12px #34453210; }
.button.primary:hover { background: #3e5743; }
.beta-note { margin-top: 17px; max-width: 360px; font-size: 13px; color: #687267; }
.plan-preview { min-width: 0; padding: 35px 0 0; }
.example-calendar { padding: 24px; border: 1px solid #d8dfd1; border-radius: 22px; background: #fffefa; box-shadow: 15px 18px 0 #e6ebdf, 0 16px 45px #3445320a; transform: rotate(-2deg); }
.calendar-header { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; font-size: 18px; }
.calendar-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.day { padding: 12px 8px 35px; border: 1px solid #e0e5d8; border-radius: 12px; min-height: 245px; }
.day h2 { font-size: 13px; letter-spacing: 0; padding-bottom: 18px; overflow-wrap: anywhere; }
.event { padding: 10px 8px; border-radius: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.event-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: currentColor; margin-right: 4px; }
.sage { background: #e4ebde; }
.peach { background: #f2e1d5; }
.sand { background: #eee9dc; }
.calendar-line { display: flex; gap: 7px; padding-top: 18px; }
.calendar-line span { width: 9px; height: 9px; border-radius: 50%; background: #c8d5c6; }
.calendar-line span:nth-child(2) { background: #d9a88e; }
.calendar-line span:nth-child(3) { background: #d7c9ad; }
figcaption { padding-top: 40px; text-align: center; font-size: 12px; color: #687267; }

.features { padding-block: 42px 76px; border-top: 1px solid #dfe4d9; }
.features > h2 { font-size: 34px; margin-bottom: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: #dfe7d8; font-size: 25px; }
.icon-1 { background: #eee5d4; }
.icon-2 { background: #f0ddce; }
.feature h3 { font-size: 23px; line-height: 1.25; margin-bottom: 14px; }
.feature p { color: #5d6b5f; font-size: 16px; }

.start { padding: 40px 44px; background: #e5ebdf; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.start h2, .contact h2 { font-size: 30px; line-height: 1.2; }
.start p { margin-top: 14px; max-width: 580px; color: #52614f; }
.start .button { flex-shrink: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding-block: 72px; }
.contact p { max-width: 570px; margin-top: 14px; color: #5d6b5f; }
.contact-links { display: grid; justify-items: start; gap: 14px; flex-shrink: 0; }
.contact-links > a:first-child { font-size: 22px; font-weight: 750; }
.text-link { font-weight: 750; }
.site-footer { border-top: 1px solid #dfe4d9; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px 35px; color: #5d6b5f; font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }

@media (max-width: 1000px) {
  .hero { gap: 35px; }
  .example-calendar { padding: 18px; }
  .calendar-days { gap: 6px; }
  .day { padding-inline: 5px; }
  .event { padding-inline: 5px; }
  .feature-grid { gap: 25px; }
  .start { padding: 32px; }
  .contact { gap: 30px; }
}

@media (max-width: 760px) {
  .wrap { width: min(560px, calc(100% - 40px)); }
  .site-header { padding-block: 20px; gap: 14px; }
  .brand { font-size: 25px; gap: 5px; }
  .brand img { width: 35px; height: 35px; }
  .main-nav { gap: 16px; font-size: 14px; }
  .features-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 10px; padding-block: 40px 48px; }
  h1 { font-size: clamp(38px, 8vw, 51px); }
  .intro { font-size: 18px; margin-block: 22px 26px; }
  .plan-preview { padding: 25px 13px 0 3px; }
  .example-calendar { transform: rotate(-1deg); padding: 20px; box-shadow: 10px 12px 0 #e6ebdf; }
  .calendar-days { gap: 8px; }
  .day { padding: 11px 6px 20px; min-height: 210px; }
  figcaption { padding-top: 28px; }
  .features { padding-block: 35px 45px; }
  .features > h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; gap: 35px; }
  .feature-icon { margin-bottom: 12px; }
  .feature h3 { font-size: 23px; }
  .start, .contact { flex-direction: column; align-items: flex-start; gap: 25px; }
  .start { padding: 28px 25px; }
  .start h2, .contact h2 { font-size: 28px; }
  .contact { padding-block: 48px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 15px; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 28px); }
  .main-nav > a { display: none; }
  .language-menu summary { padding: 9px 10px; }
  .example-calendar { padding: 14px; }
  .calendar-days { gap: 5px; }
  .day { padding-inline: 4px; }
}

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