@import url("./site.css");

.hero {
  padding: 76px 0 78px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin: 23px 0;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.43;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

html[lang="en"] .hero h1 {
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.16;
  letter-spacing: -2.6px;
}

.hero-description {
  max-width: 490px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero .store-links {
  margin-top: 29px;
}

.hero-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.hero .text-link {
  margin-top: 28px;
}

.care-preview {
  position: relative;
  min-width: 0;
  padding: 20px 24px 69px;
}

.preview-orbit {
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  left: -5%;
  top: 8%;
  background: var(--sage);
  border-radius: 50% 44% 48% 42%;
  transform: rotate(-12deg);
}

.preview-spark {
  position: absolute;
  top: -6px;
  right: -7px;
  z-index: 2;
  color: #c58d55;
  font-size: 80px;
  line-height: 1;
  transform: rotate(14deg);
}

.journal-card {
  position: relative;
  padding: 25px 28px 20px;
  background: var(--white);
  border: 1px solid #e5e7de;
  border-radius: 19px;
  box-shadow: 0 20px 55px #35483012, 0 4px 6px #35483004;
  transform: rotate(-3deg);
}

.journal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0e8;
}

.journal-brand {
  font-size: 20px;
  letter-spacing: -1px;
  font-weight: 800;
}

.journal-brand > span {
  color: #93a478;
}

.journal-date {
  color: var(--muted);
  font-size: 11px;
}

.journal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.journal-kicker {
  color: var(--muted);
  font-size: 11px;
}

.journal-heading h2 {
  font-size: 23px;
  font-weight: 700;
  margin-top: 3px;
}

.profile-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #f7eddf;
  color: #af7649;
}

.profile-icon svg {
  width: 23px;
  height: 23px;
}

.journal-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.journal-entries {
  margin-top: 17px;
  display: grid;
  gap: 10px;
}

.journal-entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #e9ece5;
  border-radius: 11px;
  padding: 12px;
}

.entry-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.entry-icon svg {
  width: 18px;
  height: 18px;
}

.entry-icon-meal {
  color: #906540;
  background: #f8eee0;
}

.entry-icon-note {
  color: #54745f;
  background: #edf2e8;
}

.entry-icon-heart {
  color: #887699;
  background: #f1edf7;
}

.entry-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.entry-heading h3 {
  font-size: 12px;
  font-weight: 700;
}

.entry-heading > span {
  font-size: 10px;
  color: #7c847a;
}

.journal-entry p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.journal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
}

.member-dots {
  display: flex;
  padding-left: 5px;
}

.member-dots i {
  width: 22px;
  height: 22px;
  margin-left: -5px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #dce6d5;
}

.member-dots i:nth-child(2) {
  background: #e8d3bd;
}

.member-dots i:nth-child(3) {
  background: #d5d6e6;
}

.shared-check {
  margin-left: auto;
  color: var(--green);
  font-size: 14px;
}

.shared-note {
  position: absolute;
  right: -14px;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 300px;
  padding: 18px 22px;
  border: 1px solid #dce4d7;
  border-radius: 15px;
  background: #f4f7f0;
  box-shadow: 0 12px 25px #3548300a;
  transform: rotate(3deg);
}

.shared-note-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e1ebda;
  color: var(--green);
}

.shared-note-icon svg {
  width: 20px;
  height: 20px;
}

.shared-note strong {
  font-size: 13px;
}

.shared-note p {
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
}

.preview-caption {
  position: absolute;
  left: 20px;
  bottom: -15px;
  width: calc(100% - 40px);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 660px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.5;
}

.section-heading > p:last-child:not(.eyebrow) {
  margin-top: 17px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.why-section {
  padding: 68px 0;
  border-block: 1px solid var(--line);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.why-layout .section-heading {
  max-width: 440px;
}

.why-list {
  display: grid;
  gap: 23px;
}

.why-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 20px;
}

.item-number {
  padding-top: 2px;
  color: #789178;
  font-size: 13px;
  font-weight: 700;
}

.why-item h3 {
  font-size: 17px;
  font-weight: 700;
}

.why-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.features-section {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  margin-top: 48px;
}

.feature-card {
  position: relative;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: var(--sage);
  color: var(--green);
  border-radius: 14px;
}

.feature-card:nth-child(3n+2) .feature-icon {
  background: var(--peach);
  color: #946a4f;
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--lavender);
  color: #78688c;
}

.feature-kicker {
  position: absolute;
  top: 35px;
  left: 60px;
  color: var(--muted);
  font-size: 12px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.9;
  max-width: 330px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.scenario-card {
  border-radius: 21px;
  padding: 27px 30px 30px;
  text-align: center;
}

.scenario-child {
  background: var(--peach);
  --scenario-ink: #9e6b46;
  --scenario-highlight: #efd9c4;
}

.scenario-elder {
  background: var(--sage);
  --scenario-ink: #56774f;
  --scenario-highlight: #d9e3d1;
}

.scenario-pet {
  background: var(--lavender);
  --scenario-ink: #80708f;
  --scenario-highlight: #ded8e8;
}

.scenario-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  height: 135px;
  margin-inline: auto;
  color: var(--scenario-ink);
}

.scenario-circle {
  width: 101px;
  height: 101px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--scenario-highlight);
}

.scenario-circle svg {
  width: 45px;
  height: 45px;
  stroke-width: 1.2;
}

.scenario-flower {
  position: absolute;
  top: 11px;
  right: 5px;
  font-size: 32px;
  line-height: 1;
}

.scenario-dot {
  position: absolute;
  left: 5px;
  bottom: 17px;
  width: 12px;
  height: 12px;
  background: var(--scenario-ink);
  border-radius: 50%;
  opacity: 0.5;
}

.scenario-card h3 {
  margin-top: 13px;
  font-size: 21px;
  font-weight: 700;
}

.scenario-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.languages-section {
  background: #f0f3eb;
}

.language-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 100px;
  align-items: center;
}

.language-detail {
  margin-top: 25px;
}

.language-detail h3 {
  font-size: 16px;
  font-weight: 700;
}

.language-detail p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.language-list li {
  padding: 4px 11px;
  border: 1px solid #d7e1cf;
  border-radius: 6px;
  background: #f9fbf5;
  font-size: 12px;
  color: #4a6544;
}

.translation-preview {
  padding: 10px 12px 0;
}

.translation-card {
  padding: 28px;
  border: 1px solid #dfe4d9;
  border-radius: 17px;
  background: var(--white);
  transform: rotate(-3deg);
  box-shadow: 0 12px 25px #283d3507;
}

.translation-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.translation-card p {
  font-size: 20px;
  line-height: 1.8;
}

.translation-connector {
  display: flex;
  justify-content: center;
  position: relative;
  height: 44px;
}

.translation-connector span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 4px;
  border: 1px solid #d1ddc8;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
  font-size: 21px;
}

.translated {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #f9fbf5;
  transform: rotate(2deg);
}

.translated .translation-label {
  color: #cee1c3;
}

.translation-caption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.privacy-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-inner {
  display: flex;
  gap: 21px;
  align-items: center;
}

.privacy-icon {
  color: var(--green);
  flex-shrink: 0;
}

.privacy-icon svg {
  width: 29px;
  height: 29px;
}

.privacy-inner h2 {
  font-size: 17px;
  font-weight: 700;
}

.privacy-inner p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.privacy-inner .text-link {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12px;
}

.download-section {
  padding: 76px 0;
}

.download-panel {
  position: relative;
  overflow: hidden;
  padding: 55px 32px 46px;
  border-radius: 25px;
  background: #e9efdf;
  text-align: center;
}

.download-logo {
  position: relative;
  margin: 0 auto 18px;
  border-radius: 16px;
}

.download-panel h2 {
  position: relative;
  font-size: clamp(28px, 3.1vw, 39px);
  font-weight: 700;
  letter-spacing: -1px;
}

.download-panel > p {
  position: relative;
  max-width: 580px;
  margin: 16px auto 26px;
  font-size: 15px;
  color: #596a50;
}

.download-panel .store-links {
  position: relative;
  justify-content: center;
}

.download-panel .text-link {
  position: relative;
  margin-top: 23px;
  font-size: 12px;
}

.download-decoration {
  position: absolute;
  color: #d7e2c9;
  font-size: 300px;
  top: -150px;
  right: -40px;
  transform: rotate(15deg);
}

@media (min-width: 1440px) {
.hero {
    padding-block: 95px;
  }
}

@media (max-width: 1050px) {
.hero-inner {
    gap: 33px;
  }

.hero h1 {
    font-size: 36px;
  }

html[lang="en"] .hero h1 {
    font-size: 44px;
  }

.care-preview {
    padding-inline: 8px;
  }

.journal-card {
    padding: 21px;
  }

.shared-note {
    right: -10px;
  }

.why-layout, .language-layout {
    gap: 55px;
  }
}

@media (max-width: 800px) {
.hero {
    padding: 50px 0 65px;
  }

.hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

.hero-copy {
    max-width: 580px;
  }

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

html[lang="en"] .hero h1 {
    max-width: 530px;
    font-size: clamp(40px, 7vw, 56px);
  }

.hero-description {
    max-width: 570px;
  }

.care-preview {
    width: min(100% - 24px, 460px);
    margin-inline: auto;
    padding-inline: 16px;
  }

.journal-card {
    padding: 25px;
  }

.why-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

.why-layout .section-heading {
    max-width: 620px;
  }

.why-list {
    gap: 25px;
  }

.section {
    padding: 64px 0;
  }

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

.scenario-grid {
    gap: 14px;
  }

.scenario-card {
    padding: 20px 16px;
  }

.scenario-illustration {
    width: 135px;
    height: 120px;
    max-width: 100%;
  }

.scenario-card h3 {
    font-size: 18px;
  }

.scenario-card p {
    font-size: 13px;
  }

.language-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

.translation-preview {
    width: min(100%, 480px);
    margin-inline: auto;
  }

.privacy-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

.privacy-inner > div {
    flex: 1;
    min-width: 240px;
  }

.privacy-inner .text-link {
    margin-left: 45px;
  }
}

@media (max-width: 540px) {
.hero {
    padding-top: 41px;
  }

.hero h1 {
    font-size: clamp(27px, 7.7vw, 38px);
    letter-spacing: -1.1px;
    margin-block: 19px;
  }

html[lang="en"] .hero h1 {
    font-size: 40px;
    letter-spacing: -1.7px;
  }

.hero-description {
    font-size: 14px;
    line-height: 1.95;
  }

.hero-note {
    font-size: 11px;
  }

.care-preview {
    width: calc(100% - 14px);
    padding: 15px 5px 65px;
  }

.journal-card {
    padding: 20px;
  }

.journal-heading h2 {
    font-size: 21px;
  }

.preview-spark {
    right: -13px;
    top: -8px;
    font-size: 62px;
  }

.shared-note {
    width: 263px;
    right: -3px;
    padding: 14px 17px;
  }

.shared-note strong {
    font-size: 12px;
  }

.shared-note p {
    font-size: 10px;
  }

.journal-entry {
    padding: 10px;
    gap: 9px;
  }

.section-heading h2 {
    font-size: 27px;
  }

.section-heading > p:last-child:not(.eyebrow) {
    font-size: 14px;
  }

.section {
    padding: 54px 0;
  }

.feature-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 32px;
  }

.feature-card p {
    max-width: none;
  }

.scenario-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

.scenario-card {
    padding: 18px 26px 26px;
  }

.scenario-card h3 {
    margin-top: 2px;
    font-size: 21px;
  }

.scenario-card p {
    font-size: 14px;
  }

.scenario-illustration {
    width: 155px;
    height: 120px;
  }

.translation-card {
    padding: 24px;
  }

.translation-card p {
    font-size: 18px;
  }

.privacy-inner h2 {
    font-size: 16px;
  }

.privacy-inner p {
    font-size: 12px;
  }

.download-section {
    padding: 50px 0;
  }

.download-panel {
    padding: 37px 20px;
    border-radius: 19px;
  }

.download-panel h2 {
    font-size: 26px;
  }

.download-panel > p {
    font-size: 14px;
  }

.download-panel .store-link img {
    width: 132px;
    height: 44px;
  }
}

@media (max-width: 380px) {
.hero .store-link img {
    width: 132px;
    height: 44px;
  }

.download-panel .store-links {
    flex-direction: column;
  }

.care-preview {
    width: 100%;
  }

.journal-card {
    padding: 16px;
  }

.journal-date {
    font-size: 9px;
  }

.journal-entry {
    padding: 9px;
    grid-template-columns: 27px minmax(0, 1fr);
  }

.entry-icon {
    width: 27px;
    height: 29px;
  }

.shared-note {
    width: 248px;
  }
}
